用户离开
This commit is contained in:
parent
93e5754857
commit
d3e2355fb3
@ -241,6 +241,7 @@ export default class ClientList {
|
|||||||
}
|
}
|
||||||
async 用户离开({ id }) {
|
async 用户离开({ id }) {
|
||||||
await del(id, this.store)
|
await del(id, this.store)
|
||||||
|
this.exit({ id })
|
||||||
}
|
}
|
||||||
async 用户更新({ id, name, avatar }) {
|
async 用户更新({ id, name, avatar }) {
|
||||||
const client = this.clientlist.find(client => client.id === id)
|
const client = this.clientlist.find(client => client.id === id)
|
||||||
|
Loading…
Reference in New Issue
Block a user