This commit is contained in:
zhangsir
2024-06-27 18:15:11 +08:00
parent f61d87ab34
commit 2402470e0b

View File

@@ -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
}
})
},