From d3e2355fb34bf1b4fe1c9d75c396e5b8dbbd6b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Sat, 21 Oct 2023 04:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=A6=BB=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.js b/src/client.js index b5c4589..4f44604 100644 --- a/src/client.js +++ b/src/client.js @@ -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)