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); Notify.error(response.message);
setTimeout(() => { setTimeout(() => {
window.location.href='/'; window.location.href='/';
}, 2000) }, 2000)
}else if(response.code==401){ }else if(response.code==401){
Notify.clear(); Notify.clear();

View File

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