供奉改点灯(丁:意见)
This commit is contained in:
parent
446070712a
commit
54c71e4e14
|
|
@ -60,7 +60,8 @@
|
||||||
},
|
},
|
||||||
"usingComponents": true,
|
"usingComponents": true,
|
||||||
"optimization": {
|
"optimization": {
|
||||||
"subPackages": true //是否启用分包优化
|
"subPackages": true
|
||||||
|
//是否启用分包优化
|
||||||
},
|
},
|
||||||
"debug": false,
|
"debug": false,
|
||||||
"permission": {
|
"permission": {
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<bottom-button title="供奉" type="primary" @click="submitPrayer" />
|
<bottom-button title="点灯" type="primary" @click="submitPrayer" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -96,7 +96,11 @@ export default {
|
||||||
},
|
},
|
||||||
onShow() {
|
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);
|
this.$refs.statusBar.loadUnitData(this.selectedUnitId);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<bottom-button title="立即供奉" type="primary" @click="submitPrayer" />
|
<bottom-button title="立即点灯" type="primary" @click="submitPrayer" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 供奉弹窗 -->
|
<!-- 供奉弹窗 -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user