Refactor(我的):未登录状态下不获取抽奖的配置

This commit is contained in:
lifizer
2026-05-21 15:32:54 +08:00
parent 27924672a2
commit 2cddb59530
+5 -2
View File
@@ -216,7 +216,10 @@
</view>
</view>
<view
v-if="drawConfig.myTicketImageEnable === 1 && drawConfig.myTicketImage"
v-if="(store.getters.token || userInfo.uid) &&
drawConfig.myTicketImageEnable === 1 &&
drawConfig.myTicketImage
"
class="my-ticket-entry"
@click="goMyTicketList"
>
@@ -415,7 +418,6 @@ export default {
},
onShow() {
uni.$emit('updateUnreadMessageCount')
this.getDrawConfigReq()
if (this.$store.getters.token) {
this.isNoLogin = false
uni.showLoading({
@@ -426,6 +428,7 @@ export default {
this.getUserLevelInfoReq()
this.isWeixin = isWeixin()
// this.getUnreadMsgList()
this.getDrawConfigReq()
} else {
this.isNoLogin = true
/*