This commit is contained in:
parent
c079d34b47
commit
d7259fb9ce
|
@ -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();
|
||||||
|
|
|
@ -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)} }
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue