Skip to content

Commit

Permalink
fix: #245
Browse files Browse the repository at this point in the history
  • Loading branch information
leeluolee committed Feb 14, 2019
1 parent bdb9d43 commit 9f5a69c
Show file tree
Hide file tree
Showing 3 changed files with 7,597 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/helper/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ var methods = {
}
watcher.fn.call(this, now, last, diff, trackDiff && trackDiff.oldKeyMap, trackDiff && trackDiff.dirty)
if(watcher.once) this.$unwatch(watcher)
}else{
// #FIX 0.6.3
if(now !== last){// 只有数组,且simplediff 判断为false才会
watcher.last = _.clone(now)
}
}

return dirty;
Expand Down
Loading

0 comments on commit 9f5a69c

Please sign in to comment.