Browse Source

无jia任务 这么改看下问题

research/test
jian 12 months ago
parent
commit
042d7cc2ef
  1. 2
      packages/fineui/src/core/4.widget.js

2
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();
}

Loading…
Cancel
Save