chore: fix typo (#5261) [ci skip]

This commit is contained in:
Yugang Cao
2022-01-21 14:18:34 +08:00
committed by GitHub
parent e8022755ae
commit e603fd258c
7 changed files with 10 additions and 8 deletions

View File

@@ -623,7 +623,7 @@ export function cloneVNode<T, U>(
shapeFlag: vnode.shapeFlag,
// if the vnode is cloned with extra props, we can no longer assume its
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
// note: perserve flag for fragments since they use the flag for children
// note: preserve flag for fragments since they use the flag for children
// fast paths only.
patchFlag:
extraProps && vnode.type !== Fragment