From 053a279102d4206cb3bc9ccf9f574abbac6d243d Mon Sep 17 00:00:00 2001
From: ZF sun <34314687@qq.com>
Date: Mon, 29 Jun 2026 10:41:14 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4loading-cover?=
=?UTF-8?q?=E5=92=8C=E9=9A=90=E7=A7=81=E5=BC=B9=E7=AA=97=E7=9A=84=E6=8C=82?=
=?UTF-8?q?=E8=BD=BD=E4=BD=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
1. 将公告列表页的loading-cover移到mescroll-uni外部统一挂载
2. 将文件列表页的loading-cover移到mescroll-uni外部统一挂载
3. 为鸿蒙平台的slot强制重绘逻辑添加条件编译包裹
---
components/mescroll/my-list-mescroll.vue | 2 ++
pages_tool/files/list.vue | 2 +-
pages_tool/notice/list.vue | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/components/mescroll/my-list-mescroll.vue b/components/mescroll/my-list-mescroll.vue
index 6449ae4..0deb52a 100644
--- a/components/mescroll/my-list-mescroll.vue
+++ b/components/mescroll/my-list-mescroll.vue
@@ -74,6 +74,7 @@ export default {
},
created() {
if (this.size) this.upOption.page.size = this.size;
+ // #ifdef MP-HARMONY
// 鸿蒙下 ArkUI 对 slot 内 Vue 响应式更新失效,数据加载后强制重建 slot DOM
// 通过把 listSlotKey 自增,使 :key 变化,触发整个 slot 子树销毁重建
const oldUpCallback = this.upCallback;
@@ -85,6 +86,7 @@ export default {
}, 200);
return ret;
};
+ // #endif
},
mounted() {
// 统一在 watcher 里触发首屏 resetUpScroll,这里不做任何事情
diff --git a/pages_tool/files/list.vue b/pages_tool/files/list.vue
index e03f870..4271c48 100644
--- a/pages_tool/files/list.vue
+++ b/pages_tool/files/list.vue
@@ -32,9 +32,9 @@
-
+
diff --git a/pages_tool/notice/list.vue b/pages_tool/notice/list.vue
index 91b484b..accbdbf 100644
--- a/pages_tool/notice/list.vue
+++ b/pages_tool/notice/list.vue
@@ -16,9 +16,9 @@
-
+