소스 검색

日常开发

林旭祥 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) {