mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-12 04:16:48 +08:00
提交对灰度环境的适配
This commit is contained in:
@@ -490,10 +490,19 @@
|
|||||||
let taskUrl='';
|
let taskUrl='';
|
||||||
if(task.cmtask_type==1){ //学习路径图
|
if(task.cmtask_type==1){ //学习路径图
|
||||||
let params=encodeURIComponent('routerId='+task.cmtask_id);
|
let params=encodeURIComponent('routerId='+task.cmtask_id);
|
||||||
|
if(this.$config.context=='/mobile-release'){
|
||||||
|
taskUrl='/pages/forward?to=/student-h5-release/pathdetails¶ms='+params;
|
||||||
|
}else{
|
||||||
taskUrl='/pages/forward?to=/student-h5/pathdetails¶ms='+params;
|
taskUrl='/pages/forward?to=/student-h5/pathdetails¶ms='+params;
|
||||||
|
}
|
||||||
|
|
||||||
}else if(task.cmtask_type==2){ //学习项目
|
}else if(task.cmtask_type==2){ //学习项目
|
||||||
let params=encodeURIComponent('projectId='+task.cmtask_id);
|
let params=encodeURIComponent('projectId='+task.cmtask_id);
|
||||||
|
if(this.$config.context=='/mobile-release'){
|
||||||
|
taskUrl='/pages/forward?to=/student-h5-release/projectdetails¶ms='+params;
|
||||||
|
}else{
|
||||||
taskUrl='/pages/forward?to=/student-h5/projectdetails¶ms='+params;
|
taskUrl='/pages/forward?to=/student-h5/projectdetails¶ms='+params;
|
||||||
|
}
|
||||||
}else if(task.cmtask_type==3){
|
}else if(task.cmtask_type==3){
|
||||||
taskUrl='/pages/study/loaddetail?id=' + task.cmtask_id
|
taskUrl='/pages/study/loaddetail?id=' + task.cmtask_id
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user