Michael Wang 3 лет назад
Родитель
Сommit
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