|
|
@ -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 () { |
|
|
|