Refactor(我的):未登录状态下不获取抽奖的配置
This commit is contained in:
@@ -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
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user