Selaa lähdekoodia

新活检退出时撤销遮罩层

Michael Wang 5 vuotta sitten
vanhempi
commit
ddf14c2eb0
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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() {