diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 3ce8059d7..343cb1812 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -462,14 +462,14 @@ class LoginRegisterComponent extends Component { if(result.data.message==="验证码不正确"){ this.setState({ Phonenumberisnotcosyzm:"验证码不正确", - }) - + }); + this.openNotification(result.data.message); return; }else if(result.data.message==="验证码已失效"){ this.setState({ - Phonenumberisnotcosyzm:"验证码不正确", + Phonenumberisnotcosyzm:"验证码已失效", }) - + this.openNotification(result.data.message); return; }else { this.openNotification(result.data.message);