浏览代码

Merge branch 'master' of qk:zhuishuyun/zhuishuyun_ios_wap_front

XiaBx 3 年之前
父节点
当前提交
473d82efd6
共有 1 个文件被更改,包括 5 次插入0 次删除
  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() {