fix user delete from admin
This commit is contained in:
parent
dd9ff7cd81
commit
33a9dd6a3f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ export default {
|
|||
if (!ret) { return }
|
||||
await this.$axios.delete(`/user/${user.id}`)
|
||||
this.$root.$message('admin.user_remove_ok')
|
||||
this.users_ = this.users_.filter(u => u.id !== user.id)
|
||||
this.$emit('update')
|
||||
},
|
||||
async toggle (user) {
|
||||
if (user.is_active) {
|
||||
|
|
Loading…
Reference in a new issue