this.countdownTime = null;标签:60,getSmsCodeTip,--,验证码,send,倒计时,countdownTime From: https://www.cnblogs.com/gulehoo/p/17420224.html
let send = 60;
--send;
this.getSmsCodeTip = `${send}s后重新获取`;
this.countdownTime = setInterval(()=>{
--send;
if(send === 0){
this.getSmsCodeTip = '重新获取';
send = 60;
this.isCountDown = true;
clearInterval(this.countdownTime);
}else{
this.getSmsCodeTip = `${send}s后重新获取`;
}
},1000);