林旭祥 1 місяць тому
батько
коміт
8ea26e51b2
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/views/train/run.vue

+ 2 - 2
src/views/train/run.vue

@@ -505,7 +505,7 @@ const getAgain = async () => {
     await finishOneTest();
   }
   //其他状态
-  if (examState.value > 3) {
+  if ([43, 41, 40].includes(examState.value)) {
     await closeOneTest();
   }
   //重新走一次流程
@@ -536,7 +536,7 @@ const getConfirmEnd = async () => {
     await finishOneTest();
   }
   //其他状态
-  if (examState.value > 3) {
+  if ([43, 41, 40].includes(examState.value)) {
     await closeOneTest();
   }
   if (!isLongRun.value) {