mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
跳转连接
This commit is contained in:
@@ -127,10 +127,10 @@ export default {
|
||||
//let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
let studentPath=process.env.VUE_APP_STUDENT_PATH;
|
||||
if(item.cmtask_type==1){ //学习路径图
|
||||
let params=encodeURIComponent('projectId='+item.cmtask_id);
|
||||
let params=encodeURIComponent('routerId='+item.cmtask_id);
|
||||
this.$router.push('/forward?to='+studentPath+'/pathdetails¶ms='+params);
|
||||
}else if(item.cmtask_type==2){ //学习项目
|
||||
let params=encodeURIComponent('routerId='+item.cmtask_id);
|
||||
let params=encodeURIComponent('projectId='+item.cmtask_id);
|
||||
this.$router.push('/forward?to='+studentPath+'/projectdetails¶ms='+params);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user