Browse Source

无JIRA 牵一发而动全身,先回滚

es6
zsmj 2 years ago
parent
commit
88329b54d5
  1. 3
      src/core/4.widget.js

3
src/core/4.widget.js

@ -739,12 +739,13 @@
this.destroyed = null; this.destroyed = null;
this._isDestroyed = true; this._isDestroyed = true;
// this._purgeRef(); // 清除ref的时机还是要仔细考虑一下 // this._purgeRef(); // 清除ref的时机还是要仔细考虑一下
this.purgeListeners();
}, },
_unMount: function () { _unMount: function () {
this.__destroy(); this.__destroy();
this.fireEvent(BI.Events.UNMOUNT); this.fireEvent(BI.Events.UNMOUNT);
this.purgeListeners();
}, },
_empty: function () { _empty: function () {

Loading…
Cancel
Save