修改跳转抽奖逻辑

This commit is contained in:
YeMingfei666 2024-12-06 13:58:49 +08:00
parent 47751a7267
commit 98d3572526
1 changed files with 7 additions and 0 deletions

View File

@ -1076,6 +1076,13 @@
this.videoContextId = 'myVideo' + numIdCurr;
this.videoContext = uni.createVideoContext(this.videoContextId, this);
console.log('走更新了')
if(this.noBuyVideoIndex!==null &&this.noBuyVideoIndex==this.current){
this.noBuyVideoIndex=null;
return uni.navigateTo({
url:'/me/choujiang/choujiang'
})
}
this.$nextTick(() => {
//播放当前的
this.videoContext.play();