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;
BI.Widget.prototype.__d = function () {
var unMount = BI.Widget.prototype.__destroy;
BI.Widget.prototype.__destroy = function () {
try {
unMount.apply(this, arguments);
} catch (e) {

2
src/core/4.widget.js

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

Loading…
Cancel
Save