소스 검색

超过断点次数,提示优化

Michael Wang 6 년 전
부모
커밋
0281e97f99
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/features/Login/Login.vue

+ 1 - 2
src/features/Login/Login.vue

@@ -359,7 +359,7 @@ export default {
             content: `超出最大断点续考次数(${
               examingRes.maxInterruptNum
             }),正在自动交卷...`,
-            duration: 30,
+            duration: 15,
             closable: true
           });
           this.$Spin.show({
@@ -375,7 +375,6 @@ export default {
           const res = await this.$http.get(
             "/api/ecs_oe_student/examControl/endExam"
           );
-          this.$Message.destroy();
           if (res.status === 200) {
             this.$router.replace({
               path: `/online-exam/exam/${examingRes.examId}/examRecordData/${