clone `isComment` when cloneVNode (#5633)

This commit is contained in:
pengchongfu 2017-05-09 21:12:59 +08:00 committed by Evan You
parent b5b1ac373a
commit 5d965d5b3b
1 changed files with 1 additions and 0 deletions

View File

@ -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
}