countDownNum(){
				if(that.number=="获取验证码"||that.number=="重新获取"){
					that.number = 60;
					if(that.number == 60){
							 var sid = setInterval(function() {
										 that.number--;
										  if(that.number == 0){
											  that.number='重新获取';
											  clearInterval(sid);
											  console.log(that.number)
										  }
							}, 1000); 
					}
				}
				
			}

关注我的公众号SpaceObj 领取idea系列激活码

posted on 2023-05-11 09:58  张伯灵  阅读(228)  评论(0编辑  收藏  举报