fix(compiler-core): should alias name in helperString (#743)

fix #740
This commit is contained in:
likui
2020-02-19 22:49:46 +08:00
committed by GitHub
parent 478b4cfb2c
commit 7b987d9450
3 changed files with 2 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ describe('compiler: transform v-bind', () => {
expect(props.properties[0]).toMatchObject({
key: {
children: [
`${helperNameMap[CAMELIZE]}(`,
`_${helperNameMap[CAMELIZE]}(`,
{ content: `_ctx.foo` },
`(`,
{ content: `_ctx.bar` },