修改判断跳转转盘逻辑,不进行是否是当前未购买视频判断
This commit is contained in:
parent
8b61108053
commit
a234802534
|
|
@ -1078,7 +1078,7 @@
|
|||
this.videoContextId = 'myVideo' + numIdCurr;
|
||||
this.videoContext = uni.createVideoContext(this.videoContextId, this);
|
||||
console.log('走更新了')
|
||||
if(this.noBuyVideoIndex!==null &&this.noBuyVideoIndex==this.current){
|
||||
if(this.noBuyVideoIndex!==null ){
|
||||
this.noBuyVideoIndex=null;
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang'
|
||||
|
|
@ -1158,7 +1158,7 @@
|
|||
}
|
||||
})
|
||||
})
|
||||
if(this.noBuyVideoIndex!==null&&this.noBuyVideoIndex==indexss){
|
||||
if(this.noBuyVideoIndex!==null){
|
||||
this.noBuyVideoIndex=null
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang?orderId'+2144
|
||||
|
|
@ -1174,7 +1174,7 @@
|
|||
this.$nextTick(() => {
|
||||
let indexss = indexs > 0 ? indexs : 0
|
||||
if (this.videoList[indexss].videoUrl) { //有播放权限
|
||||
if(this.noBuyVideoIndex!==null&&this.noBuyVideoIndex==indexss){
|
||||
if(this.noBuyVideoIndex!==null){
|
||||
this.noBuyVideoIndex=null
|
||||
return uni.navigateTo({
|
||||
url:'/me/choujiang/choujiang'
|
||||
|
|
|
|||
Loading…
Reference in New Issue