Kaynağa Gözat

Merge branch 'master' of qk:zhuishuyun/zhuishuyun_ios_wap_front

XiaBx 3 yıl önce
ebeveyn
işleme
473d82efd6
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      src/view/Login.vue

+ 5 - 0
src/view/Login.vue

@@ -81,6 +81,11 @@ export default {
       isGoToLogin: false
     };
   },
+  mounted() {
+    this.$once("hook:beforeDestroy", () => {
+      clearInterval(timer);
+    });
+  },
   methods: {
     //当手机号未填时
     getCodePhoneWrong() {