Skip to content

Commit a067b94

Browse files
Merge branch 'feat/watch-source-enhance' of https://github.com/ArthurDarkstone/vue-core into feat/watch-source-enhance
2 parents 092c427 + e2bfeec commit a067b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/componentOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ export function createWatcher(
852852
): void {
853853
let getter = key.includes('.')
854854
? createPathGetter(publicThis, key)
855-
: () => (publicThis)[key as keyof typeof publicThis]
855+
: () => publicThis[key as keyof typeof publicThis]
856856

857857
const options: WatchOptions = {}
858858
if (__COMPAT__) {

0 commit comments

Comments
 (0)