Browse Source

每次unmount都assertMount

es6
guy 2 years ago
parent
commit
db90ce4cbb
  1. 1
      src/core/4.widget.js

1
src/core/4.widget.js

@ -743,6 +743,7 @@
}, },
_unMount: function () { _unMount: function () {
this._assetMounted();
this.__destroy(); this.__destroy();
this.fireEvent(BI.Events.UNMOUNT); this.fireEvent(BI.Events.UNMOUNT);
this.purgeListeners(); this.purgeListeners();

Loading…
Cancel
Save