Browse Source

Pull request #2898: 无JIRA 牵一发而动全身,先回滚

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '88329b54d51a8479b64ab8ff60b7d134e5e3a403':
  无JIRA 牵一发而动全身,先回滚
es6
Dailer 3 years ago
parent
commit
9f258268ea
  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