|
|
@ -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()
|
|
|
|