From cd24a2138351e2b0a521c23c790890ddc2c586fa Mon Sep 17 00:00:00 2001 From: jian Date: Mon, 11 Dec 2023 23:59:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jia=E4=BB=BB=E5=8A=A1=20ref=E9=94=80?= =?UTF-8?q?=E6=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/core/4.widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fineui/src/core/4.widget.js b/packages/fineui/src/core/4.widget.js index c8fbe5d2f..c1fb3bdeb 100644 --- a/packages/fineui/src/core/4.widget.js +++ b/packages/fineui/src/core/4.widget.js @@ -874,7 +874,7 @@ export class Widget extends OB { this._assetMounted(); this.__destroy(); this.fireEvent(Events.UNMOUNT); - // this._purgeRef(); // 子组件unmount ref置为null了,父组件拿不到ref,导致报错 + this._purgeRef(); // 子组件unmount ref置为null了,父组件拿不到ref,导致报错 this.purgeListeners(); }