Kaynağa Gözat

Merge branch 'V0.0.4' of http://10.87.21.221:8000/jzyd_yyds/soc_app into V0.0.4

jiawuxian 1 yıl önce
ebeveyn
işleme
157d53d488
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      src/views/menu/securityCheckRegister/add.vue

+ 4 - 0
src/views/menu/securityCheckRegister/add.vue

@@ -235,11 +235,15 @@ export default {
   beforeDestroy() {
     window.openCameraCallBack = null;
     window.openNFCScanCallBack = null;
+    this.$toast.clear();
+    clearInterval(this.timer);
   },
   methods: {
     onClose(){
       window.openCameraCallBack = null;
       window.openNFCScanCallBack = null;
+      this.$toast.clear();
+      clearInterval(this.timer);
     },
     //长度校验
     validator(val) {