Verified Commit 33a9dd6a authored by les's avatar les
Browse files

fix user delete from admin

parent dd9ff7cd
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment