林旭祥 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 });
     }
   });