浏览代码

fix faceid timeout bug

Michael Wang 3 年之前
父节点
当前提交
9ed29170e0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/features/OnlineExam/Examing/FaceId.vue

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

@@ -104,7 +104,7 @@ async function updateFaceVerifyMsg(errorMsg: string) {
 // 退出faceid的办法只能二选一。下面是timeout退出。
 let processedByTimeout = false;
 async function faceidLoadedButTimeouted() {
-  if (!processedBySocketMsg) {
+  if (processedBySocketMsg) {
     logger({
       cnl: ["server"],
       act: "faceidLoadedButTimeouted",