From d5d3f9f1fdefd05d8d49c4d900ff1282e25f2949 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 19 Oct 2021 22:17:32 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-9443=20fix:=20=E5=90=8C=E6=AD=A5fix.comp?= =?UTF-8?q?act?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/fix/fix.compact.ie.js | 4 +++- dist/fix/fix.compact.js | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dist/fix/fix.compact.ie.js b/dist/fix/fix.compact.ie.js index ab949b5bd..cfcb87121 100644 --- a/dist/fix/fix.compact.ie.js +++ b/dist/fix/fix.compact.ie.js @@ -157,9 +157,11 @@ if (_global.Fix && this._store) { needPop = true; pushTarget(this.store); - initWatch(this, this.watch); } _render.apply(this, arguments); + if (_global.Fix && this._store) { + initWatch(this, this.watch); + } needPop && popTarget(); }; diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index 442535146..7ac3c625b 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -157,11 +157,6 @@ if (_global.Fix && this._store) { initWatch(this, this.watch); } - // try { - // _render.apply(this, arguments); - // } catch (e) { - // console.error(e); - // } needPop && popTarget(); };