浏览代码

绑定手机号倒计时结束未重置bug

xinfeng 6 年之前
父节点
当前提交
2e67b4abc3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      components/common/bindMobile.vue

+ 1 - 0
components/common/bindMobile.vue

@@ -101,6 +101,7 @@
               this.timeLoop--
               if (this.timeLoop <= 0) {
                 clearInterval(this.interval)
+                this.interval = null
               }
             }, 1000)
           }