Browse Source

refactor: reset取消事件绑定

es6
Kira 3 years ago
parent
commit
73646f90ce
  1. 1
      src/core/4.widget.js

1
src/core/4.widget.js

@ -577,6 +577,7 @@
// this._isMounted = false; // this._isMounted = false;
// this.purgeListeners(); // this.purgeListeners();
this.empty(); this.empty();
this.element.unbind();
this._initCurrent(); this._initCurrent();
this._init(); this._init();
this._mount(); this._mount();

Loading…
Cancel
Save