From 9121571a38873f17c2e6a834ad96ba1402e7dfb4 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 28 Feb 2021 13:26:08 +0800 Subject: [PATCH] update --- dist/fix/fix.compact.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index 80c7380e7..75eb3425b 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -187,11 +187,10 @@ var self = this; var render = BI.isFunction(this.options.render) ? this.options.render : this.render; var els; - if (this.options.updateMode === "auto") { + if (this.options.updateMode === "auto" && this._store) { // 自动更新模式 var childComponents = {}; var rendered = false; - initWatch(this, {}); this._watchers.push(Fix.watch(this.model, function () { if (rendered) { var newEls = render && render.call(this);