Browse Source

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

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

Loading…
Cancel
Save