|
|
@@ -696,9 +696,13 @@ export default {
|
|
|
url: '/pages/login/login'
|
|
|
});
|
|
|
} else {
|
|
|
- if(this.payStatus==0){
|
|
|
- this.jumpBuy()
|
|
|
- return
|
|
|
+ if (this.payStatus === 0) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '暂未购买该课程',
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ return;
|
|
|
}
|
|
|
if (this.userInfo.certified != 1) {
|
|
|
uni.showModal({
|
|
|
@@ -720,14 +724,6 @@ export default {
|
|
|
this.certification();
|
|
|
return;
|
|
|
}
|
|
|
- if (this.payStatus === 0) {
|
|
|
- uni.showToast({
|
|
|
- title: '暂未购买该课程',
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
if (this.vid === null) {
|
|
|
uni.showToast({
|
|
|
title: '视频加载失败',
|