fix(runtime-core): fix directive inheritance on dev root fragment
fix #5523
This commit is contained in:
parent
51f3d386de
commit
2bab639683
@ -1098,6 +1098,8 @@ function baseCreateRenderer(
|
||||
if (
|
||||
patchFlag > 0 &&
|
||||
patchFlag & PatchFlags.STABLE_FRAGMENT &&
|
||||
// #5523 dev root fragment may inherit directives so always force update
|
||||
!(__DEV__ && patchFlag & PatchFlags.DEV_ROOT_FRAGMENT) &&
|
||||
dynamicChildren &&
|
||||
// #2715 the previous fragment could've been a BAILed one as a result
|
||||
// of renderSlot() with no valid children
|
||||
|
Loading…
Reference in New Issue
Block a user