Ver Fonte

日常开发

林旭祥 há 1 mês atrás
pai
commit
8ea26e51b2
1 ficheiros alterados com 2 adições e 2 exclusões
  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) {