供奉成功后及时刷新牌位状态
This commit is contained in:
parent
903bbc07f4
commit
afd894d7a4
|
|
@ -105,6 +105,7 @@
|
|||
v-if="selectedUnitId"
|
||||
:showDetailLink="false"
|
||||
:unit-id="selectedUnitId"
|
||||
ref="statusBar"
|
||||
@view-details="handleViewDetails"
|
||||
/>
|
||||
<view class="placeholder"></view>
|
||||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user