From b8dccb33fb7aaf955631c508287f3e1a29850d07 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 2 Nov 2017 13:09:36 +0800 Subject: [PATCH] update --- dist/fix/fix.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index 421b549eaf..61f4fd88a4 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -995,6 +995,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons }, _.bind(cb, vm)); watchers.push(function unwatchFn() { w.teardown(); + v.__ob__._globalDeps && remove(v.__ob__._globalDeps, dep); + v.__ob__._deps && remove(v.__ob__._deps, dep); }); return; }