fix(runtime-core): components with static props and slots should not be force updated
This commit is contained in:
parent
cd7834aa50
commit
51e43e0799
@ -309,7 +309,7 @@ export function shouldUpdateComponent(
|
||||
return true
|
||||
}
|
||||
|
||||
if (optimized && patchFlag > 0) {
|
||||
if (optimized && patchFlag >= 0) {
|
||||
if (patchFlag & PatchFlags.DYNAMIC_SLOTS) {
|
||||
// slot content that references values that might have changed,
|
||||
// e.g. in a v-for
|
||||
|
Loading…
Reference in New Issue
Block a user