|
@@ -86,9 +86,8 @@ export default {
|
|
|
: "")
|
|
|
);
|
|
|
setTimeout(() => this.$Spin.hide(), 1000);
|
|
|
- return;
|
|
|
+ return true;
|
|
|
}
|
|
|
- this.$router.push("/online-exam");
|
|
|
} catch (error) {
|
|
|
this.$Message.error("获取断点续考信息异常,退出登录");
|
|
|
this.logout();
|
|
@@ -96,7 +95,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async enterPractice(course) {
|
|
|
- await this.checkExamInProgress();
|
|
|
+ const alreadyInExam = await this.checkExamInProgress();
|
|
|
+ if (alreadyInExam) return;
|
|
|
+
|
|
|
this.$router.push(
|
|
|
`/online-exam/exam/${course.examId}/overview?examStudentId=${
|
|
|
course.examStudentId
|