This commit is contained in:
姜棚 2021-12-02 20:06:55 +08:00
parent c079d34b47
commit d7259fb9ce
2 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,8 @@ const upload = (method, url, params, responseType) => {
Notify.error(response.message);
setTimeout(() => {
window.location.href='/';
}, 2000)
}else if(response.code==401){
Notify.clear();

View File

@ -410,7 +410,7 @@ export default class add extends React.Component{
</div>
<div className="phone-list">
<RadioGroup
value={this.state.phone}
value={this.state.phone_radio}
isValueEqual={this.isValueEqual}
onChange={(e)=>{this.onPhoneChange(e)}}
>
@ -432,7 +432,7 @@ export default class add extends React.Component{
</div>
<div className="email-list">
<RadioGroup
value={this.state.email}
value={this.state.email_radio}
isValueEqual={this.isValueEqual}
onChange={ (e)=>{this.onEmailChange(e)} }
>