Ver código fonte

超过断点次数,提示优化

Michael Wang 6 anos atrás
pai
commit
0281e97f99
1 arquivos alterados com 1 adições e 2 exclusões
  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/${