Browse Source

新活检流程必须全部走完

Michael Wang 5 năm trước cách đây
mục cha
commit
f890468f43

+ 1 - 0
src/features/OnlineExam/Examing/ExamingHome.vue

@@ -765,6 +765,7 @@ export default {
         this.submitCount++;
         if (this.submitCount < 200) {
           // 一分钟后,强制交卷
+          console.log("一分钟后,强制交卷");
           setTimeout(() => this.realSubmitPaperStep2(), 300);
           return;
         }

+ 1 - 1
src/features/OnlineExam/Examing/FaceMotion/FaceMotion.vue

@@ -349,7 +349,7 @@ export default {
         "/api/ecs_oe_student/faceBiopsy/saveFaceBiopsyResult",
         this.finalResult
       );
-      if (typeof faceLiveResultData === undefined) {
+      if (typeof faceLiveResultData === "undefined") {
         this.$Message.error({
           content: "保存活体检测信息失败,退出登录",
           duration: 15,

+ 1 - 1
src/utils/axiosRetry.js

@@ -30,7 +30,7 @@ Vue.prototype.$httpPostRetry = async function(...args) {
         await new Promise(resolve => setTimeout(resolve, 1000));
         continue; // 网络不通
       } else {
-        return error; // 其他错误不管
+        return; // 其他错误不管
       }
     }
   }