fix(ssr): update initial old value to watch callback in ssr usage (#4103)
This commit is contained in:
parent
b274b08f5f
commit
20b6619793
@ -265,7 +265,7 @@ function doWatch(
|
||||
} else if (immediate) {
|
||||
callWithAsyncErrorHandling(cb, instance, ErrorCodes.WATCH_CALLBACK, [
|
||||
getter(),
|
||||
undefined,
|
||||
isMultiSource ? [] : undefined,
|
||||
onInvalidate
|
||||
])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user