فهرست منبع

活检结束关闭弹窗

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;