Browse Source

REPORT-18860 fix:ie8下重写_initRender代替_init

es6
qcc 5 years ago
parent
commit
48e3fe390d
  1. 12
      dist/fix/fix.compact.ie.js

12
dist/fix/fix.compact.ie.js vendored

@ -129,18 +129,12 @@
return needPop;
}
BI.Widget.prototype._init = function () {
BI.Widget.superclass._init.apply(this, arguments);
this._initRoot();
this._initElementWidth();
this._initElementHeight();
this._initVisual();
this._initState();
BI.Widget.prototype._initRender = function () {
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(function () {
if (this.model && this.model.$vm) {
this.model.$vm.$digest()
this.model.$vm.$digest();
}
this._render();
}, this));
@ -150,7 +144,7 @@
} else {
this._render();
}
}
};
var _init = BI.Widget.prototype._init;
BI.Widget.prototype._init = function () {

Loading…
Cancel
Save