|
@@ -98,11 +98,11 @@
|
|
|
email: this.emailBindingForm.email
|
|
|
}
|
|
|
Http.put('/api/verify/email', params).then((res) => {
|
|
|
- this.hasVerifyCode = true;
|
|
|
let _this = this;
|
|
|
if (res.msg == "ERROR") {
|
|
|
notify('error', '验证码获取失败:' + res.data);
|
|
|
}else{
|
|
|
+ this.hasVerifyCode = true;
|
|
|
notify('success', res.data);
|
|
|
let codeTimer = setInterval(function () {
|
|
|
if (_this.codeTime > 0) {
|
|
@@ -114,7 +114,6 @@
|
|
|
}
|
|
|
}, 1000)
|
|
|
}
|
|
|
-
|
|
|
}).catch(err => {
|
|
|
notify('error', '获取验证码失败:' + err.data);
|
|
|
})
|