diff --git a/pages/learnPath/examScore.vue b/pages/learnPath/examScore.vue index 1105eb3..0b334c2 100644 --- a/pages/learnPath/examScore.vue +++ b/pages/learnPath/examScore.vue @@ -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 } }) },