dev_aliyun
杨树明 6 years ago
parent 551bb0b0c4
commit d6569b6426

@ -119,7 +119,7 @@ class PackageIndexNEITaskDetails extends Component {
}).then((response) => { }).then((response) => {
if(response.data.status===0){ if(response.data.status===0){
this.props.showSnackbar("提交成功"); this.props.showSnackbar("提交成功");
}else{ }else if(response.data.status===-1){
this.props.showSnackbar(response.data.message); this.props.showSnackbar(response.data.message);
} }
}).catch((error) => { }).catch((error) => {
@ -215,7 +215,7 @@ class PackageIndexNEITaskDetails extends Component {
if(response.data.status===0){ if(response.data.status===0){
this.props.showSnackbar("报名成功"); this.props.showSnackbar("报名成功");
this.getdatas() this.getdatas()
}else{ }else if(response.data.status===-1){
this.props.showSnackbar(response.data.message); this.props.showSnackbar(response.data.message);
} }
}).catch((error) => { }).catch((error) => {

Loading…
Cancel
Save