mirror of https://github.com/vuejs/vue.git
clone `isComment` when cloneVNode (#5633)
This commit is contained in:
parent
b5b1ac373a
commit
5d965d5b3b
|
|
@ -84,6 +84,7 @@ export function cloneVNode (vnode: VNode): VNode {
|
|||
cloned.ns = vnode.ns
|
||||
cloned.isStatic = vnode.isStatic
|
||||
cloned.key = vnode.key
|
||||
cloned.isComment = vnode.isComment
|
||||
cloned.isCloned = true
|
||||
return cloned
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue