diff --git a/packages/runtime-core/src/apiWatch.ts b/packages/runtime-core/src/apiWatch.ts index b7092248..34c8deb1 100644 --- a/packages/runtime-core/src/apiWatch.ts +++ b/packages/runtime-core/src/apiWatch.ts @@ -175,8 +175,8 @@ function doWatch( let isMultiSource = false if (isRef(source)) { - getter = () => (source as Ref).value - forceTrigger = !!(source as Ref)._shallow + getter = () => source.value + forceTrigger = !!source._shallow } else if (isReactive(source)) { getter = () => source deep = true