Browse Source

Pull request #2539: 无JIRA任务 bugfix: 报错

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

* commit '864b1d4b3491879c5238a0f5231fa1066ff1d626':
  bugfix: 报错
es6
guy 3 years ago
parent
commit
af0644e7fd
  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