소스 검색

fix 开发环境临时代码

Michael Wang 3 년 전
부모
커밋
b8e49affac
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      src/features/OnlineExam/Examing/setups/useFaceLive.ts

+ 2 - 4
src/features/OnlineExam/Examing/setups/useFaceLive.ts

@@ -52,11 +52,9 @@ export function useFaceLive(doSnap: () => void) {
       addTimeout(() => {
         if (identificationOfLivingBodyScheme === "S1") {
           showFaceId = true;
-          // } else if (identificationOfLivingBodyScheme === "S2") {
-          //   this.showFaceMotion = true;
         }
-        // }, faceVerifyMinute * 60 * 1000); // 定时做活体检测
-      }, 1 * 1000); // 定时做活体检测
+      }, faceVerifyMinute * 60 * 1000); // 定时做活体检测
+      // }, 1 * 1000); // 定时做活体检测
     }
 
     // for test