From 51ae3b130801f40a423b4a57070eb96f187b1974 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Fri, 5 Jun 2026 11:53:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(harmony):=20=E6=81=A2=E5=A4=8D=20mescroll?= =?UTF-8?q?=20=E4=B8=8A=E6=8B=89=E5=8A=A0=E8=BD=BD=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=88=97=E8=A1=A8=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E6=A0=B9=E6=9C=AC=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因分析(重要): - 之前为解决'一直处于加载状态'问题,条件编译隐藏了上拉加载区域 - 但这导致了连锁反应:upLoadType 变化时无任何 DOM 更新 → slot 内容不被刷新 - 点击排序之所以能显示,正是因为排序触发 resetUpScroll → showUpScroll → upLoadType 从1变0 → 引起内部 DOM 更新 → 连带刷新 slot 修复: - 恢复 mescroll-uni 上拉加载区域的渲染(去掉 #ifndef MP-HARMONY) - upLoadType 的正常变化(1→0/2)会驱动 DOM 更新,从而连带渲染 slot 列表内容 - loading-cover 保持条件编译隐藏(它是独立组件,不影响 slot 渲染) --- components/mescroll/mescroll-uni.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/mescroll/mescroll-uni.vue b/components/mescroll/mescroll-uni.vue index 7c15c48..5140d53 100644 --- a/components/mescroll/mescroll-uni.vue +++ b/components/mescroll/mescroll-uni.vue @@ -33,7 +33,6 @@ - @@ -45,7 +44,6 @@ {{ mescroll.optUp.textNoMore }} -