为所有场景的新增课程页面统一添加路由参数isCocoLearn为2时的特殊处理逻辑,调用parent.setCourseUrl后直接返回,适配CocoLearn相关业务流程
@@ -8888,6 +8888,10 @@ export default {
this.steps = old;
return;
}
+ if(this.$route.query.isCocoLearn == 2){
+ parent.setCourseUrl();
+ return
+ }
this.goTo(
"/course?userid=" +
this.userid +
@@ -8191,6 +8191,10 @@ export default {
@@ -5198,6 +5198,10 @@ export default {
@@ -8876,6 +8876,10 @@ export default {
@@ -8164,6 +8164,10 @@ export default {
@@ -1275,6 +1275,10 @@ export default {