fix(runtime-core): fix slot fragment bail check
This commit is contained in:
parent
11f38d8a85
commit
ac6a6f11ac
@ -913,7 +913,11 @@ function baseCreateRenderer(
|
|||||||
optimized
|
optimized
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
if (patchFlag & PatchFlags.STABLE_FRAGMENT && dynamicChildren) {
|
if (
|
||||||
|
patchFlag > 0 &&
|
||||||
|
patchFlag & PatchFlags.STABLE_FRAGMENT &&
|
||||||
|
dynamicChildren
|
||||||
|
) {
|
||||||
// a stable fragment (template root or <template v-for>) doesn't need to
|
// a stable fragment (template root or <template v-for>) doesn't need to
|
||||||
// patch children order, but it may contain dynamicChildren.
|
// patch children order, but it may contain dynamicChildren.
|
||||||
patchBlockChildren(
|
patchBlockChildren(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user