fix user delete from admin

This commit is contained in:
les 2021-07-09 21:40:40 +02:00
parent dd9ff7cd81
commit 33a9dd6a3f
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

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