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

@@ -517,7 +517,6 @@ function buildDirectiveArgs(
const dirArgs: ArrayExpression['elements'] = []
const runtime = directiveImportMap.get(dir)
if (runtime) {
context.helper(runtime)
dirArgs.push(context.helperString(runtime))
} else {
// inject statement for resolving directive