修复h5没有抽奖次数跳抽奖问题
This commit is contained in:
parent
27a7af2005
commit
52edbfc424
|
|
@ -1570,11 +1570,19 @@
|
|||
}
|
||||
})
|
||||
})
|
||||
if (this.noBuyVideoIndex !== null) {
|
||||
this.noBuyVideoIndex = null
|
||||
return uni.navigateTo({
|
||||
url: '/me/choujiang/choujiang'
|
||||
if (this.noBuyVideoIndex !== null && this.noBuyVideoIndex !==
|
||||
undefined && this.noBuyVideoIndex !== '') {
|
||||
console.log('获取转盘抽奖次数')
|
||||
this.$Request.getT('app/discSpinning/drawCount').then(res => {
|
||||
console.log('转盘抽奖次数', res.count)
|
||||
if (res.count >= 1) {
|
||||
uni.navigateTo({
|
||||
url: '/me/choujiang/choujiang'
|
||||
})
|
||||
} else {}
|
||||
})
|
||||
uni.removeStorageSync('noBuyVideoIndex')
|
||||
this.noBuyVideoIndex = null
|
||||
}
|
||||
} else { //直接跳转进来的
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue