From f845c31d705cc413eb4b19bbc0b36d1462510590 Mon Sep 17 00:00:00 2001 From: blue <825657193@qq.com> Date: Tue, 30 Apr 2024 13:37:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20app=E7=82=B9=E5=BC=80=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=90=8E=E6=B6=88=E6=81=AF=E4=BC=9A=E8=87=AA=E5=8A=A8=E6=BB=9A?= =?UTF-8?q?=E5=88=B0=E5=BA=95=E9=83=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-client/im-client.iml | 70 +++++++++++++++++++++++++++++++ im-uniapp/pages/chat/chat-box.vue | 9 ++-- 2 files changed, 73 insertions(+), 6 deletions(-) create mode 100644 im-client/im-client.iml diff --git a/im-client/im-client.iml b/im-client/im-client.iml new file mode 100644 index 0000000..00ac649 --- /dev/null +++ b/im-client/im-client.iml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/im-uniapp/pages/chat/chat-box.vue b/im-uniapp/pages/chat/chat-box.vue index b031a6c..5a9c741 100644 --- a/im-uniapp/pages/chat/chat-box.vue +++ b/im-uniapp/pages/chat/chat-box.vue @@ -72,7 +72,7 @@ 文件 - + 语音消息 @@ -542,8 +542,6 @@ }, readedMessage() { if(this.unreadCount == 0){ - - console.log("0000000000") return; } let url = "" @@ -675,12 +673,11 @@ this.$store.commit("activeChat", options.chatIdx); // 复位回执消息 this.isReceipt = false; - }, - onShow() { - // 页面滚到底部 + // 滚动至底部 this.scrollToBottom(); }, onUnload() { + this.$store.commit("activeChat", -1); } }