增加支付跳转盘抽奖
This commit is contained in:
@@ -73,9 +73,13 @@
|
||||
await init()
|
||||
refVideoList.value.videoListUpdata()
|
||||
const drawRes=await Api.getDrawCount()
|
||||
if(drawRes.count>0){
|
||||
console.log(drawRes);
|
||||
const nobuyCourseId=uni.getStorageSync('nobuyCourseId')
|
||||
const item=state.list.find(v=>v.courseId==nobuyCourseId)
|
||||
uni.clearStorageSync('nobuyCourseId')
|
||||
if(drawRes.count*1>0&&nobuyCourseId!==null&&nobuyCourseId!==undefined&&item.videoUrl){
|
||||
uni.navigateTo({
|
||||
url:'pages/me/prizeDraw'
|
||||
url:'/pages/me/prizeDraw'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user