修复h5没有抽奖次数跳抽奖问题
This commit is contained in:
@@ -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 { //直接跳转进来的
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user