用户离开

This commit is contained in:
2023-10-21 04:54:41 +08:00
parent 93e5754857
commit d3e2355fb3
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ export default class ClientList {
}
async 用户离开({ id }) {
await del(id, this.store)
this.exit({ id })
}
async 用户更新({ id, name, avatar }) {
const client = this.clientlist.find(client => client.id === id)