fix(compiler-core): v-if key error should only be checking same key on different branches
This commit is contained in:
@@ -243,6 +243,7 @@ export interface IfBranchNode extends Node {
|
||||
type: NodeTypes.IF_BRANCH
|
||||
condition: ExpressionNode | undefined // else
|
||||
children: TemplateChildNode[]
|
||||
userKey?: AttributeNode | DirectiveNode
|
||||
}
|
||||
|
||||
export interface ForNode extends Node {
|
||||
|
||||
Reference in New Issue
Block a user