Skip to content

Commit 9f5a69c

Browse files
committed
fix: #245
1 parent bdb9d43 commit 9f5a69c

File tree

3 files changed

+7597
-0
lines changed

3 files changed

+7597
-0
lines changed

lib/helper/watcher.js

+5
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ var methods = {
242242
}
243243
watcher.fn.call(this, now, last, diff, trackDiff && trackDiff.oldKeyMap, trackDiff && trackDiff.dirty)
244244
if(watcher.once) this.$unwatch(watcher)
245+
}else{
246+
// #FIX 0.6.3
247+
if(now !== last){// 只有数组,且simplediff 判断为false才会
248+
watcher.last = _.clone(now)
249+
}
245250
}
246251

247252
return dirty;

0 commit comments

Comments
 (0)