Pārlūkot izejas kodu

获取活体检测信息失败,退出

Michael Wang 5 gadi atpakaļ
vecāks
revīzija
882f5bc3f0

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

@@ -324,7 +324,7 @@ export default {
         "/api/ecs_oe_student/faceBiopsy/getFaceBiopsyInfo?examRecordDataId=" +
           examRecordDataId
       );
-      if (typeof faceBiopsyInfoData === undefined) {
+      if (typeof faceBiopsyInfoData === "undefined") {
         this.$Message.error({
           content: "获取活体检测信息失败,退出登录",
           duration: 15,

+ 1 - 1
src/utils/axiosRetry.js

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