mirror of https://github.com/vuejs/core.git
chore: replace -1 to PatchFlags.HOISTED (#10146)
This commit is contained in:
parent
c2b274a887
commit
e977c598db
|
@ -665,7 +665,7 @@ export function cloneVNode<T, U>(
|
||||||
// fast paths only.
|
// fast paths only.
|
||||||
patchFlag:
|
patchFlag:
|
||||||
extraProps && vnode.type !== Fragment
|
extraProps && vnode.type !== Fragment
|
||||||
? patchFlag === -1 // hoisted node
|
? patchFlag === PatchFlags.HOISTED // hoisted node
|
||||||
? PatchFlags.FULL_PROPS
|
? PatchFlags.FULL_PROPS
|
||||||
: patchFlag | PatchFlags.FULL_PROPS
|
: patchFlag | PatchFlags.FULL_PROPS
|
||||||
: patchFlag,
|
: patchFlag,
|
||||||
|
|
Loading…
Reference in New Issue