在这里插入代码片## 标题
codeShow: true, // 获取验证码按钮判断
codeNum: 60, //秒数
getCode(){
//进入判断按钮为false,显示倒计时功能
this.codeShow = false
if(this.codeNum == 0){
this.codeShow = true
this.codeNum = 60
}else{
this.codeNum --
setTimeout(() => {
this.getCode()
}, 1000);
}
},