Pārlūkot izejas kodu

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

xinfeng 6 gadi atpakaļ
vecāks
revīzija
2e67b4abc3
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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)
           }