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 @@ - +