window.location.reload()

dev_hjm_a
hjm 5 years ago
parent dcdbc00305
commit ae764f9606

@ -95,6 +95,7 @@ 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('操作成功。')
// this.fetchAll() // this.fetchAll()
this.setVisible(false) this.setVisible(false)

Loading…
Cancel
Save