From afd894d7a40d4c3fc3fed41ebdce4def01f970f7 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 13 Oct 2025 17:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=A5=89=E6=88=90=E5=8A=9F=E5=90=8E?= =?UTF-8?q?=E5=8F=8A=E6=97=B6=E5=88=B7=E6=96=B0=E7=89=8C=E4=BD=8D=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/memorial/memorialHall.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/memorial/memorialHall.vue b/pages/memorial/memorialHall.vue index baeb1c6..1257977 100644 --- a/pages/memorial/memorialHall.vue +++ b/pages/memorial/memorialHall.vue @@ -105,6 +105,7 @@ v-if="selectedUnitId" :showDetailLink="false" :unit-id="selectedUnitId" + ref="statusBar" @view-details="handleViewDetails" /> @@ -448,7 +449,14 @@ export default { title: "供奉成功!", icon: "success", }); + // 供奉成功后刷新状态栏数据 + if (this.$refs.statusBar && typeof this.$refs.statusBar.loadUnitData === 'function') { + this.$refs.statusBar.loadUnitData(this.selectedUnitId); + } } + this.selectedUnitId += 1; + this.selectedUnitId -= 1; + // 关闭弹窗 this.closeOfferingModal();