Browse Source

新活检退出时撤销遮罩层

Michael Wang 5 years ago
parent
commit
ddf14c2eb0
1 changed files with 3 additions and 0 deletions
  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() {
   mounted() {
     this.run();
     this.run();
   },
   },
+  beforeDestroy() {
+    this.$Spin.hide();
+  },
   methods: {
   methods: {
     ...mapMutations(["updateIsDoingFaceLiveness"]),
     ...mapMutations(["updateIsDoingFaceLiveness"]),
     async fetchData() {
     async fetchData() {