From 0851f11e54caee4a7646cd6c3ac7462ce265dcfa Mon Sep 17 00:00:00 2001 From: wxl <727869402@qq.com> Date: Sun, 12 Jan 2025 02:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E8=81=8A=E5=A4=A9=E6=80=BB?= =?UTF-8?q?=E6=95=B0=20=E8=AE=BE=E7=BD=AE=E5=B7=B2=E8=AF=BB=E6=94=B9?= =?UTF-8?q?=E4=B8=BAwebsocket=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/layout/components/Navbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/layout/components/Navbar.vue b/web/src/layout/components/Navbar.vue index 1a955b8..b4e05cd 100644 --- a/web/src/layout/components/Navbar.vue +++ b/web/src/layout/components/Navbar.vue @@ -98,9 +98,9 @@ export default { if(isNotEmpty(contactId)&&contactId==data.body.toContactId){ console.log('当前在该用户聊天框 设置为已读') } + this.$refs.im.readAuthorMessage(contactId) }catch (e) { } - //请求总数 this.$refs.im.getUnReadCount() }