Refactor(我的):未登录状态下不获取抽奖的配置
This commit is contained in:
@@ -216,7 +216,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</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"
|
class="my-ticket-entry"
|
||||||
@click="goMyTicketList"
|
@click="goMyTicketList"
|
||||||
>
|
>
|
||||||
@@ -415,7 +418,6 @@ export default {
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
uni.$emit('updateUnreadMessageCount')
|
uni.$emit('updateUnreadMessageCount')
|
||||||
this.getDrawConfigReq()
|
|
||||||
if (this.$store.getters.token) {
|
if (this.$store.getters.token) {
|
||||||
this.isNoLogin = false
|
this.isNoLogin = false
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
@@ -426,6 +428,7 @@ export default {
|
|||||||
this.getUserLevelInfoReq()
|
this.getUserLevelInfoReq()
|
||||||
this.isWeixin = isWeixin()
|
this.isWeixin = isWeixin()
|
||||||
// this.getUnreadMsgList()
|
// this.getUnreadMsgList()
|
||||||
|
this.getDrawConfigReq()
|
||||||
} else {
|
} else {
|
||||||
this.isNoLogin = true
|
this.isNoLogin = true
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user