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();