|
@@ -322,7 +322,8 @@
|
|
|
}
|
|
|
},
|
|
|
delDlClose(){
|
|
|
- this.telDl =false
|
|
|
+ this.telDl =false;
|
|
|
+ this.countdown = -1;
|
|
|
this.$refs.ruleTelForm.resetFields();
|
|
|
__nc.reset();
|
|
|
|
|
@@ -393,6 +394,10 @@
|
|
|
this.btnTextDisabled = false;
|
|
|
this.btnText = '免费获取验证码';
|
|
|
this.countdown = 60;
|
|
|
+ }else if(this.countdown === -1){
|
|
|
+ this.btnTextDisabled = false;
|
|
|
+ this.btnText = '获取验证码';
|
|
|
+ this.countdown = 60;
|
|
|
} else {
|
|
|
this.btnTextDisabled = true;
|
|
|
this.btnText = '重新发送(' + this.countdown + 's)';
|
|
@@ -405,7 +410,7 @@
|
|
|
// 验证码
|
|
|
checkVerification() {
|
|
|
if (this.sliderData.appkey === undefined) {
|
|
|
- this.$message.error('人机交互未通过');
|
|
|
+ this.$message.error('请先通过滑块校验');
|
|
|
return;
|
|
|
}
|
|
|
this.$axios.$post(`/develop/exists`,{ phone: this.telChangeDate.tel}).then(res=>{
|