fix(runtime-core): fix default shapeFlag for fragments
This commit is contained in:
parent
29732c2c86
commit
2a310df753
@ -394,7 +394,7 @@ function createBaseVNode(
|
||||
children: unknown = null,
|
||||
patchFlag = 0,
|
||||
dynamicProps: string[] | null = null,
|
||||
shapeFlag = ShapeFlags.ELEMENT,
|
||||
shapeFlag = type === Fragment ? 0 : ShapeFlags.ELEMENT,
|
||||
isBlockNode = false,
|
||||
needFullChildrenNormalization = false
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user