From 356d058598bfba5439e3d80f0fa3b078322791ec Mon Sep 17 00:00:00 2001 From: "nap.liu" Date: Thu, 5 Jun 2025 11:44:38 +0800 Subject: [PATCH] feat: fix missing dynamic props --- packages/uni-mp-core/src/runtime/componentOptions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/uni-mp-core/src/runtime/componentOptions.ts b/packages/uni-mp-core/src/runtime/componentOptions.ts index f1ddbd7e9fe..5f1f2619149 100644 --- a/packages/uni-mp-core/src/runtime/componentOptions.ts +++ b/packages/uni-mp-core/src/runtime/componentOptions.ts @@ -78,6 +78,9 @@ export function updateComponentProps( if (hasQueueJob(instance.update)) { invalidateJob(instance.update) } + // 修复列表组件复用时导致的组件动态属性丢失问题 + // 最小复现demo https://developers.weixin.qq.com/s/ZvNerFmK8y0f + instance.effect.dirty = true if ( __PLATFORM__ === 'mp-toutiao' || __PLATFORM__ === 'mp-baidu' ||