浏览代码

日常开发

林旭祥 3 周之前
父节点
当前提交
c52cded5b3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/components/OnlineFaceWindow/index.vue

+ 2 - 0
src/components/OnlineFaceWindow/index.vue

@@ -90,6 +90,7 @@ const getInit = async () => {
         terminateFace(handcontroller_id);
         proxy?.$modal.msgWarning(`请重新人脸识别`);
       } else {
+        faceState.value = true;
         openFace(handcontroller_id);
       }
     }
@@ -99,6 +100,7 @@ const getInit = async () => {
       let name = e.data.student_name;
       let pic = e.data.student_icon;
       let obj = { id, name, pic }
+      faceCheckStu.value = obj;
       router.push({ path: '/score', query: obj });
     }
   });