mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-22 01:06:46 +08:00
跳转
This commit is contained in:
@@ -45,12 +45,16 @@
|
|||||||
queryExternalExam({
|
queryExternalExam({
|
||||||
externalId: this.$route.query.courseId
|
externalId: this.$route.query.courseId
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
console.log(res,'res')
|
|
||||||
this.datainfo = res.data
|
|
||||||
if(res.code == 6){
|
if(res.code == 6){
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/pages/forward?to=/student-h5/notpath'
|
path: '/pages/forward?to=/student-h5/notpath'
|
||||||
})
|
})
|
||||||
|
} else if (res.code == 7) {
|
||||||
|
this.$router.push({
|
||||||
|
path: "/pages/forward?to=/student-h5/loseefficacy",
|
||||||
|
});
|
||||||
|
}else{
|
||||||
|
this.datainfo = res.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user