From ae86ee3a1f8dd2b7b9536a86129175c0519283ed Mon Sep 17 00:00:00 2001 From: Dawn <2439646234@qq.com> Date: Thu, 23 Oct 2025 08:08:23 +0800 Subject: [PATCH] fix(transmit): :bug: fix forwarding function can not be used --- src/components/rightBox/chatBox/ChatMain.vue | 4 ++++ .../rightBox/chatBox/ChatMsgMultiChoose.vue | 7 ++++++- src/components/rightBox/renderMessage/index.vue | 2 +- src/hooks/useChatMain.ts | 11 ++++++++--- src/stores/chat.ts | 5 ++++- 5 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/components/rightBox/chatBox/ChatMain.vue b/src/components/rightBox/chatBox/ChatMain.vue index 4ba5dff6..0d206757 100644 --- a/src/components/rightBox/chatBox/ChatMain.vue +++ b/src/components/rightBox/chatBox/ChatMain.vue @@ -262,6 +262,10 @@ const computeMsgHover = computed(() => (item: MessageType) => { return false } + if (chatStore.msgMultiChooseMode === 'forward') { + return false + } + return hoverId.value === item.message.id || item.isCheck }) // 是否显示悬浮页脚 diff --git a/src/components/rightBox/chatBox/ChatMsgMultiChoose.vue b/src/components/rightBox/chatBox/ChatMsgMultiChoose.vue index 03822b1f..c9c8eddb 100644 --- a/src/components/rightBox/chatBox/ChatMsgMultiChoose.vue +++ b/src/components/rightBox/chatBox/ChatMsgMultiChoose.vue @@ -1,5 +1,7 @@