修复h5没有抽奖次数跳抽奖问题

This commit is contained in:
2024-12-26 14:40:24 +08:00
parent 27a7af2005
commit 52edbfc424

View File

@@ -1570,11 +1570,19 @@
} }
}) })
}) })
if (this.noBuyVideoIndex !== null) { if (this.noBuyVideoIndex !== null && this.noBuyVideoIndex !==
this.noBuyVideoIndex = null undefined && this.noBuyVideoIndex !== '') {
return uni.navigateTo({ console.log('获取转盘抽奖次数')
url: '/me/choujiang/choujiang' 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 { //直接跳转进来的 } else { //直接跳转进来的