You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// $FlowIgnore : Problem with possibly null this.vm
295
-
if(!this.vm._computedWatchers[key]){
296
-
throwError(`wrapper.setComputed() was passed a value that does not exist as a computed property on the Vue instance. Property ${key} does not exist on the Vue instance`)
297
+
if(this.version>2.1){
298
+
// $FlowIgnore : Problem with possibly null this.vm
299
+
if(!this.vm._computedWatchers[key]){
300
+
throwError(`wrapper.setComputed() was passed a value that does not exist as a computed property on the Vue instance. Property ${key} does not exist on the Vue instance`)
301
+
}
302
+
// $FlowIgnore : Problem with possibly null this.vm
throwError(`wrapper.setComputed() was passed a value that does not exist as a computed property on the Vue instance. Property ${key} does not exist on the Vue instance`)
308
+
}
309
+
// $FlowIgnore : Problem with possibly null this.vm
310
+
this.vm._watchers.forEach((watcher)=>{
311
+
if(watcher.getter.name===key){
312
+
watcher.value=computed[key]
313
+
}
314
+
})
297
315
}
298
-
// $FlowIgnore : Problem with possibly null this.vm
0 commit comments