瀏覽代碼

活检结束关闭弹窗

Michael Wang 5 年之前
父節點
當前提交
69c233e5de
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/features/OnlineExam/Examing/FaceId.vue

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

@@ -147,7 +147,11 @@ export default {
             ]);
             var receivedMsg = response.data;
             shouldTimeout = false;
-            return this.faceTestEnd(receivedMsg);
+            this.faceTestEnd(receivedMsg);
+            clearTimeout(this.faceIdTimeout);
+            clearInterval(this.timeCountInterval);
+            this.$emit("closeFaceId");
+            this.closeWS();
           })
           .catch(() => {
             shouldTimeout = true;