fix(compiler): v-for fragments should be blocks

This commit is contained in:
Evan You
2019-10-02 10:47:01 -04:00
parent 191db785bd
commit bec01c93bd
6 changed files with 96 additions and 80 deletions

View File

@@ -158,7 +158,7 @@ export interface ForNode extends Node {
keyAlias: ExpressionNode | undefined
objectIndexAlias: ExpressionNode | undefined
children: TemplateChildNode[]
codegenNode: CallExpression
codegenNode: SequenceExpression
}
// We also include a number of JavaScript AST nodes for code generation.