本文实例为大家分享了vue验证码倒计时60秒的具体代码,供大家参考,具体内容如下
html
获取验证码
js
{
if (this.count > 0 && this.count <= TIME_COUNT) {
this.count--;
} else {
this.show = true;
clearInterval(this.timer);
this.timer = null;
}
},1000)
}
}
}