供奉改点灯(丁:意见)

This commit is contained in:
WindowBird 2025-11-21 17:43:49 +08:00
parent 446070712a
commit 54c71e4e14
3 changed files with 9 additions and 4 deletions

View File

@ -60,7 +60,8 @@
},
"usingComponents": true,
"optimization": {
"subPackages": true //
"subPackages": true
//
},
"debug": false,
"permission": {

View File

@ -44,7 +44,7 @@
</view>
</view>
<view class="bottom">
<bottom-button title="供奉" type="primary" @click="submitPrayer" />
<bottom-button title="点灯" type="primary" @click="submitPrayer" />
</view>
</view>
</template>
@ -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);
}
},

View File

@ -119,7 +119,7 @@
/>
</view>
<view class="bottom">
<bottom-button title="立即供奉" type="primary" @click="submitPrayer" />
<bottom-button title="立即点灯" type="primary" @click="submitPrayer" />
</view>
<!-- 供奉弹窗 -->