Jelajahi Sumber

日常开发

林旭祥 1 bulan lalu
induk
melakukan
8ea26e51b2
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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) {