From 7e1c12cf60f05f52f072308f925410ab24affa6d Mon Sep 17 00:00:00 2001 From: Fay Date: Wed, 23 Oct 2019 14:37:25 +0800 Subject: [PATCH] =?UTF-8?q?DEC-10594=20fix:=20loading=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/fix/fix.ie.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dist/fix/fix.ie.js b/dist/fix/fix.ie.js index 20e967b6e..f7123e75e 100644 --- a/dist/fix/fix.ie.js +++ b/dist/fix/fix.ie.js @@ -763,8 +763,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons return vm.model[key]; }, last: vm.model[key], - listener: _$1.bind(function () { - context.p.model[key] = vm.model[key]; + listener: _$1.bind(function (c) { + context.p.model[key] = c; + // context.p.model[key] = vm.model[key]; context.p.$digest(); }, context.p) }); @@ -902,7 +903,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons }); if (contextListeners.length !== 0 || asyncListeners.length !== 0) { nextTick(function () { - _$1.each(contextListeners, function (listener) { + _$1.each(BI.uniqBy(contextListeners.reverse(), "id").reverse(), function (listener) { listener.cb(); }); _$1.each(asyncListeners, function (listener) {