diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index f72353e29..bfba44065 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -41,9 +41,9 @@ cb = model[cb]; } return oldWatch.call(this, model, expOrFn, function () { - pushTarget(options.store); + options && options.store && pushTarget(options.store); var res = cb.apply(this, arguments); - popTarget(); + options && options.store && popTarget(); return res; }, options); };