瀏覽代碼

避免考试成绩无限调用

Michael Wang 5 年之前
父節點
當前提交
7ca453da93
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     this.waitingNumber = 0;
     const f = async () => {
-      if (this.$route.name !== "ExamingEnd") {
+      if (this.$route.name !== "ExamingEnd" || this.waitingNumber > 30) {
         // 非成绩页,不在查询成绩
         return;
       }