Skip to content

Commit

Permalink
fix: avoid warning when accessing _setupProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 16, 2022
1 parent 749b96d commit cdfd9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/prefixIdentifiers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function prefixIdentifiers(
s.prependRight(
node.start!,
`var _vm=this,_c=_vm._self._c${
isScriptSetup ? `,_setup=_vm._setupProxy;` : `;`
isScriptSetup ? `,_setup=_vm._self._setupProxy;` : `;`
}`
)
}
Expand Down

0 comments on commit cdfd9f3

Please sign in to comment.