mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-21 16:56:47 +08:00
跳转
This commit is contained in:
@@ -45,12 +45,16 @@
|
||||
queryExternalExam({
|
||||
externalId: this.$route.query.courseId
|
||||
}).then(res=>{
|
||||
console.log(res,'res')
|
||||
this.datainfo = res.data
|
||||
if(res.code == 6){
|
||||
this.$router.push({
|
||||
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