diff --git a/dist/fix/fix.compact.ie.js b/dist/fix/fix.compact.ie.js index fed11fa513..5891bfdd6e 100644 --- a/dist/fix/fix.compact.ie.js +++ b/dist/fix/fix.compact.ie.js @@ -13,10 +13,15 @@ } } - function createWatcher(vm, keyOrFn, handler) { - return Fix.watch(vm.store, keyOrFn, _.bind(handler, vm), { + function createWatcher(vm, keyOrFn, cb, options) { + if (BI.isPlainObject(cb)) { + options = cb; + cb = cb.handler; + } + options = options || {}; + return Fix.watch(vm.model, keyOrFn, _.bind(cb, vm), BI.extend(options, { store: vm.store - }); + })); } var target = null; diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 525f8d7a42..7107c0423c 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -19,6 +19,7 @@ module.exports = { "core-js/features/function/bind", "core-js/features/promise", "core-js/features/string/replace", + "core-js/es/map", // "core-js", ] : [