Skip to content

Commit cdfd9f3

Browse files
committed
fix: avoid warning when accessing _setupProxy
1 parent 749b96d commit cdfd9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/prefixIdentifiers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function prefixIdentifiers(
6464
s.prependRight(
6565
node.start!,
6666
`var _vm=this,_c=_vm._self._c${
67-
isScriptSetup ? `,_setup=_vm._setupProxy;` : `;`
67+
isScriptSetup ? `,_setup=_vm._self._setupProxy;` : `;`
6868
}`
6969
)
7070
}

0 commit comments

Comments
 (0)