From 54c71e4e1419ce4f164f5e662d17fe63323f60da Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Fri, 21 Nov 2025 17:43:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=A5=89=E6=94=B9=E7=82=B9=E7=81=AF?=
=?UTF-8?q?=EF=BC=88=E4=B8=81=EF=BC=9A=E6=84=8F=E8=A7=81=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 3 ++-
pages/memorial/memorial.vue | 8 ++++++--
pages/memorial/memorialHall.vue | 2 +-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/manifest.json b/manifest.json
index 7fe2abf..05ba156 100644
--- a/manifest.json
+++ b/manifest.json
@@ -60,7 +60,8 @@
},
"usingComponents": true,
"optimization": {
- "subPackages": true //是否启用分包优化
+ "subPackages": true
+ //是否启用分包优化
},
"debug": false,
"permission": {
diff --git a/pages/memorial/memorial.vue b/pages/memorial/memorial.vue
index 056d84a..8235d19 100644
--- a/pages/memorial/memorial.vue
+++ b/pages/memorial/memorial.vue
@@ -44,7 +44,7 @@
-
+
@@ -96,7 +96,11 @@ export default {
},
onShow() {
// 返回该页面时,刷新状态栏数据,避免与供奉页操作不一致
- if (this.selectedUnitId && this.$refs.statusBar && typeof this.$refs.statusBar.loadUnitData === 'function') {
+ if (
+ this.selectedUnitId &&
+ this.$refs.statusBar &&
+ typeof this.$refs.statusBar.loadUnitData === "function"
+ ) {
this.$refs.statusBar.loadUnitData(this.selectedUnitId);
}
},
diff --git a/pages/memorial/memorialHall.vue b/pages/memorial/memorialHall.vue
index e7a161b..5192c88 100644
--- a/pages/memorial/memorialHall.vue
+++ b/pages/memorial/memorialHall.vue
@@ -119,7 +119,7 @@
/>
-
+