Explorar el Código

新活检退出时撤销遮罩层

Michael Wang hace 5 años
padre
commit
ddf14c2eb0
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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() {