fix: avoid warning when accessing _setupProxy

This commit is contained in:
Evan You 2022-06-16 14:16:36 +08:00
parent 749b96d84e
commit cdfd9f321e

View File

@ -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;` : `;`
}`
)
}