From fed2c4c485f56c99a405c441dde64b9a2d285d63 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 28 Dec 2017 20:14:54 +0800 Subject: [PATCH] update --- dist/fix/fix.compact.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); };