Skip to content

Commit 5d965d5

Browse files
pengchongfuyyx990803
authored andcommitted
clone isComment when cloneVNode (vuejs#5633)
1 parent b5b1ac3 commit 5d965d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/vdom/vnode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export function cloneVNode (vnode: VNode): VNode {
8484
cloned.ns = vnode.ns
8585
cloned.isStatic = vnode.isStatic
8686
cloned.key = vnode.key
87+
cloned.isComment = vnode.isComment
8788
cloned.isCloned = true
8889
return cloned
8990
}

0 commit comments

Comments
 (0)