Browse Source

日常开发

林旭祥 3 weeks ago
parent
commit
c52cded5b3
1 changed files with 2 additions and 0 deletions
  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 });
     }
   });