this.props.showNotification('操作成功。')

dev_hjm_a
hjm 5 years ago
parent ae764f9606
commit 7f09f745c3

@ -95,8 +95,8 @@ class AddAdminModal extends Component{
user_id: this.state.radioBoxValue.user_id user_id: this.state.radioBoxValue.user_id
}).then((result)=>{ }).then((result)=>{
if(result.data.status==0){ if(result.data.status==0){
window.location.reload()
this.props.showNotification('操作成功。') this.props.showNotification('操作成功。')
window.location.reload()
// this.fetchAll() // this.fetchAll()
this.setVisible(false) this.setVisible(false)
this.props.changeAdminSuccess && this.props.changeAdminSuccess() this.props.changeAdminSuccess && this.props.changeAdminSuccess()

Loading…
Cancel
Save