From a946a2b25d9acc477851935cb20fd81a43770c84 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sun, 28 Jul 2024 16:42:22 +0800 Subject: [PATCH] =?UTF-8?q?web=E7=AB=AFui=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-ui/src/components/chat/ChatBox.vue | 4 ++++ im-ui/src/components/chat/ChatItem.vue | 13 +++++++++++-- im-ui/src/components/friend/FriendItem.vue | 3 +-- im-ui/src/components/group/GroupItem.vue | 3 +-- im-ui/src/view/Chat.vue | 2 +- im-ui/src/view/Friend.vue | 2 +- im-ui/src/view/Group.vue | 2 +- im-ui/src/view/Home.vue | 20 ++++++++++---------- 8 files changed, 30 insertions(+), 19 deletions(-) diff --git a/im-ui/src/components/chat/ChatBox.vue b/im-ui/src/components/chat/ChatBox.vue index 97b3678..175b507 100644 --- a/im-ui/src/components/chat/ChatBox.vue +++ b/im-ui/src/components/chat/ChatBox.vue @@ -320,6 +320,7 @@ msgInfo.loadStatus = 'ok'; msgInfo.id = m.id; this.isReceipt = false; + this.refreshPlaceHolder(); this.$store.commit("insertMessage", msgInfo); }) }, @@ -375,6 +376,7 @@ msgInfo.loadStatus = 'ok'; msgInfo.id = m.id; this.isReceipt = false; + this.refreshPlaceHolder(); this.$store.commit("insertMessage", msgInfo); }) }, @@ -540,6 +542,7 @@ // 关闭录音窗口 this.showRecord = false; this.isReceipt = false; + this.refreshPlaceHolder(); }) }, @@ -611,6 +614,7 @@ this.scrollToBottom(); this.resetEditor(); this.isReceipt = false; + this.refreshPlaceHolder(); }); }, diff --git a/im-ui/src/components/chat/ChatItem.vue b/im-ui/src/components/chat/ChatItem.vue index b1c3fc6..5320e7a 100644 --- a/im-ui/src/components/chat/ChatItem.vue +++ b/im-ui/src/components/chat/ChatItem.vue @@ -7,6 +7,9 @@