From d75e0214a64cd6eff703c8006c3a2dc23f901b5c Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 14 Oct 2025 14:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=A5=89=E5=90=8E=E4=BE=9B=E5=A5=89?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=87=AA=E5=8A=A8=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/memorial/memorialHall.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pages/memorial/memorialHall.vue b/pages/memorial/memorialHall.vue index 73ecdf5..f043caa 100644 --- a/pages/memorial/memorialHall.vue +++ b/pages/memorial/memorialHall.vue @@ -103,9 +103,9 @@ @@ -450,11 +450,16 @@ export default { icon: "success", }); // 供奉成功后刷新状态栏数据 - if (this.$refs.statusBar && typeof this.$refs.statusBar.loadUnitData === 'function') { - this.$refs.statusBar.loadUnitData(this.selectedUnitId); + if ( + this.$refs.statusBar && + typeof this.$refs.statusBar.loadUnitData === "function" + ) { + await this.$refs.statusBar.loadUnitData(this.selectedUnitId); + } + if (this.$refs.enshrinedList && typeof this.$refs.enshrinedList.refresh === "function") { + await this.$refs.enshrinedList.refresh(); } } - // 关闭弹窗 this.closeOfferingModal();