瀏覽代碼

新活检退出时撤销遮罩层

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

+ 3 - 0
src/features/OnlineExam/Examing/FaceMotion/FaceMotion.vue

@@ -315,6 +315,9 @@ export default {
   mounted() {
     this.run();
   },
+  beforeDestroy() {
+    this.$Spin.hide();
+  },
   methods: {
     ...mapMutations(["updateIsDoingFaceLiveness"]),
     async fetchData() {