We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1762a66 commit c60fb7fCopy full SHA for c60fb7f
src/core/observer/dep.js
@@ -56,7 +56,7 @@ Dep.target = null
56
const targetStack = []
57
58
export function pushTarget (_target: ?Watcher) {
59
- if (Dep.target) targetStack.push(Dep.target)
+ if (Dep.target !== null) targetStack.push(Dep.target)
60
Dep.target = _target
61
}
62
0 commit comments