Browse Source

Merge pull request #986 in VISUAL/fineui from ~FRANK.QIU/fineui:master to master

* commit '48e3fe390da8ef25c7fc8ca547c2a70d60560ad3':
  REPORT-18860 fix:ie8下重写_initRender代替_init
es6
guy 5 years ago
parent
commit
9c878c5ca2
  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