修复转盘跳转问题,金币支付不出现支付宝确认弹窗

This commit is contained in:
2025-01-14 14:09:44 +08:00
parent 8a5658681c
commit 1167ff6513
3 changed files with 26 additions and 10 deletions

View File

@@ -81,12 +81,15 @@
const nobuyCourseId = uni.getStorageSync('nobuyCourseId')
const item = state.list.find(v => v.courseId == nobuyCourseId)
uni.removeStorageSync('nobuyCourseId')
if (drawRes.count * 1 > 0 && nobuyCourseId !== null && nobuyCourseId !== undefined && item
.videoUrl) {
uni.navigateTo({
url: '/pages/me/prizeDraw'
})
if(item){
if (drawRes.count * 1 > 0 && nobuyCourseId !== null && nobuyCourseId !== undefined && item
.videoUrl) {
uni.navigateTo({
url: '/pages/me/prizeDraw'
})
}
}
}
})
</script>