diff --git a/packages/runtime-core/src/vnode.ts b/packages/runtime-core/src/vnode.ts index 178ceec41bd..daa9413d2ee 100644 --- a/packages/runtime-core/src/vnode.ts +++ b/packages/runtime-core/src/vnode.ts @@ -665,7 +665,7 @@ export function cloneVNode( // fast paths only. patchFlag: extraProps && vnode.type !== Fragment - ? patchFlag === -1 // hoisted node + ? patchFlag === PatchFlags.HOISTED // hoisted node ? PatchFlags.FULL_PROPS : patchFlag | PatchFlags.FULL_PROPS : patchFlag,