Browse Source

bugfix: 报错

es6
guy 3 years ago
parent
commit
864b1d4b34
  1. 8
      src/core/4.widget.js

8
src/core/4.widget.js

@ -712,7 +712,10 @@
},
_empty: function () {
this.__d();
BI.each(this._children, function (i, widget) {
widget && widget._unMount && widget._unMount();
});
this._children = {};
this.element.empty();
},
@ -741,7 +744,8 @@
// }
// this._isMounted = false;
// this.purgeListeners();
this._empty();
this.__d();
this.element.empty();
this.element.unbind();
this._initCurrent();
this._init();

Loading…
Cancel
Save