|
|
@ -187,11 +187,10 @@ |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
var render = BI.isFunction(this.options.render) ? this.options.render : this.render; |
|
|
|
var render = BI.isFunction(this.options.render) ? this.options.render : this.render; |
|
|
|
var els; |
|
|
|
var els; |
|
|
|
if (this.options.updateMode === "auto") { |
|
|
|
if (this.options.updateMode === "auto" && this._store) { |
|
|
|
// 自动更新模式
|
|
|
|
// 自动更新模式
|
|
|
|
var childComponents = {}; |
|
|
|
var childComponents = {}; |
|
|
|
var rendered = false; |
|
|
|
var rendered = false; |
|
|
|
initWatch(this, {}); |
|
|
|
|
|
|
|
this._watchers.push(Fix.watch(this.model, function () { |
|
|
|
this._watchers.push(Fix.watch(this.model, function () { |
|
|
|
if (rendered) { |
|
|
|
if (rendered) { |
|
|
|
var newEls = render && render.call(this); |
|
|
|
var newEls = render && render.call(this); |
|
|
|