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