We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ca6ff commit d8cd30dCopy full SHA for d8cd30d
src/apis/watch.ts
@@ -321,7 +321,7 @@ function createWatcher(
321
322
// if the return value is reactive and deep:true
323
// watch for changes, this might happen when new key is added
324
- if (isReactive(watcher.value) && deep) {
+ if (isReactive(watcher.value) && watcher.value.__ob__?.dep && deep) {
325
watcher.value.__ob__.dep.addSub({
326
update() {
327
// this will force the source to be revaluated and the callback
0 commit comments