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() }