|
@@ -92,14 +92,14 @@
|
|
|
|
|
|
Http.put('/api/user/mobile', params).then(res => {
|
|
Http.put('/api/user/mobile', params).then(res => {
|
|
if (res.msg == "ERROR") {
|
|
if (res.msg == "ERROR") {
|
|
- notify('error', '重新绑定失败:' + res.data);
|
|
|
|
|
|
+ notify('error', '绑定失败:' + res.data);
|
|
this.active = 1;
|
|
this.active = 1;
|
|
this.phoneBindingForm.phone = '';
|
|
this.phoneBindingForm.phone = '';
|
|
this.phoneBindingForm.verifyCode = '';
|
|
this.phoneBindingForm.verifyCode = '';
|
|
this.codeTime = 60;
|
|
this.codeTime = 60;
|
|
this.hasVerifyCode = false;
|
|
this.hasVerifyCode = false;
|
|
} else {
|
|
} else {
|
|
- notify('success', '重新绑定成功');
|
|
|
|
|
|
+ notify('success', '绑定成功');
|
|
this.$router.push({path: '/personal/phoneBinding'});
|
|
this.$router.push({path: '/personal/phoneBinding'});
|
|
}
|
|
}
|
|
}).catch(err => {
|
|
}).catch(err => {
|