Browse Source

DEC-10594 fix: loading无法消失

es6
Fay 5 years ago
parent
commit
7e1c12cf60
  1. 7
      dist/fix/fix.ie.js

7
dist/fix/fix.ie.js vendored

@ -763,8 +763,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return vm.model[key]; return vm.model[key];
}, },
last: vm.model[key], last: vm.model[key],
listener: _$1.bind(function () { listener: _$1.bind(function (c) {
context.p.model[key] = vm.model[key]; context.p.model[key] = c;
// context.p.model[key] = vm.model[key];
context.p.$digest(); context.p.$digest();
}, context.p) }, context.p)
}); });
@ -902,7 +903,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}); });
if (contextListeners.length !== 0 || asyncListeners.length !== 0) { if (contextListeners.length !== 0 || asyncListeners.length !== 0) {
nextTick(function () { nextTick(function () {
_$1.each(contextListeners, function (listener) { _$1.each(BI.uniqBy(contextListeners.reverse(), "id").reverse(), function (listener) {
listener.cb(); listener.cb();
}); });
_$1.each(asyncListeners, function (listener) { _$1.each(asyncListeners, function (listener) {

Loading…
Cancel
Save