解锁后播放失败优化
This commit is contained in:
parent
54910d3330
commit
6f3f205a28
|
|
@ -1121,7 +1121,7 @@
|
|||
httpsRequest.postT("/app/order/payOrders", {
|
||||
orderId: orderId,
|
||||
}).then(res => {
|
||||
console.log("orderIds==" + res)
|
||||
console.log("orderIds==", res)
|
||||
if (res.code == 0) {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
|
|
@ -1393,8 +1393,12 @@
|
|||
this.videoContext = uni.createVideoContext(this
|
||||
.videoContextId,
|
||||
this);
|
||||
console.log(this.videoContext);
|
||||
this.videoContext.play();
|
||||
if (this.videoList[this.current].videoUrl) {
|
||||
this.videoContext.play();
|
||||
}else {
|
||||
console.log("播放失败")
|
||||
this.getDataList(this.courseId, courseDetailsIds, true);
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue