Browse Source

避免考试成绩无限调用

Michael Wang 5 years ago
parent
commit
7ca453da93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/features/OnlineExam/Examing/ExamingEnd.vue

+ 1 - 1
src/features/OnlineExam/Examing/ExamingEnd.vue

@@ -96,7 +96,7 @@ export default {
     const examId = this.$route.params.examId;
     const examId = this.$route.params.examId;
     this.waitingNumber = 0;
     this.waitingNumber = 0;
     const f = async () => {
     const f = async () => {
-      if (this.$route.name !== "ExamingEnd") {
+      if (this.$route.name !== "ExamingEnd" || this.waitingNumber > 30) {
         // 非成绩页,不在查询成绩
         // 非成绩页,不在查询成绩
         return;
         return;
       }
       }