Browse Source

无jira任务 多提交的

research/test
jian 11 months ago
parent
commit
876ab20544
  1. 2
      packages/fineui/src/core/4.widget.js

2
packages/fineui/src/core/4.widget.js

@ -876,7 +876,7 @@ export class Widget extends OB {
this._assetMounted(); this._assetMounted();
this.__destroy(); this.__destroy();
this.fireEvent(Events.UNMOUNT); this.fireEvent(Events.UNMOUNT);
this._purgeRef(); // 子组件unmount ref置为null了,父组件拿不到ref,导致报错 // this._purgeRef(); // 子组件unmount ref置为null了,父组件拿不到ref,导致报错
this.purgeListeners(); this.purgeListeners();
} }

Loading…
Cancel
Save