Browse Source

chore: bugfix

es6
guy 3 years ago
parent
commit
7600bc26a4
  1. 4
      dist/fix/fix.compact.js
  2. 2
      src/core/4.widget.js

4
dist/fix/fix.compact.js vendored

@ -150,8 +150,8 @@
} }
}; };
var unMount = BI.Widget.prototype.__d; var unMount = BI.Widget.prototype.__destroy;
BI.Widget.prototype.__d = function () { BI.Widget.prototype.__destroy = function () {
try { try {
unMount.apply(this, arguments); unMount.apply(this, arguments);
} catch (e) { } catch (e) {

2
src/core/4.widget.js

@ -753,7 +753,7 @@
this.__d(); this.__d();
this.element.empty(); this.element.empty();
this.element.unbind(); this.element.unbind();
this._initCurrent(); // this._initCurrent();
this._init(); this._init();
this._mount(); this._mount();
// this._initRef(); // this._initRef();

Loading…
Cancel
Save