From 3b771fc0b659229740c03482cb724543f567daf2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-JKIE562\\PC" <1013397054@qq.com> Date: Sun, 28 Jun 2026 13:11:13 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix(chat):=20=E4=BF=AE=E5=A4=8D=E5=9B=BA?= =?UTF-8?q?=E8=B5=84=E7=AE=A1=E7=90=86=E9=A6=96=E8=BD=AE=E9=97=AE=E7=AD=94?= =?UTF-8?q?=E6=AE=8B=E7=95=99=E4=B8=AD=E6=96=AD=E4=B8=8E=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/chat/components/ChatInputBar.vue | 32 +- .../chat/components/ChatMessageList.vue | 12 +- .../chat/components/ChatViewContent.vue | 1 + .../components/messages/ChatMessageBubble.vue | 509 +++++++++++++++++- .../src/features/chat/composables/useChat.ts | 150 +++++- .../features/chat/composables/useChatPage.ts | 56 ++ .../chat/composables/useChatSessions.ts | 8 +- .../chat/page/useChatPageConversation.ts | 5 + .../features/chat/page/useChatPageMarkdown.ts | 190 ++++++- .../src/features/chat/page/useChatPageSend.ts | 12 +- .../src/features/chat/types/chat.types.ts | 10 +- frontend/src/locales/en/chat.json | 19 + frontend/src/locales/th/chat.json | 19 + frontend/src/locales/zh-CN/chat.json | 19 + frontend/src/locales/zh-TW/chat.json | 19 + .../src/shared/composables/useIsMobile.ts | 16 +- 16 files changed, 1042 insertions(+), 35 deletions(-) diff --git a/frontend/src/features/chat/components/ChatInputBar.vue b/frontend/src/features/chat/components/ChatInputBar.vue index 2d5a48bf..9a03ec09 100644 --- a/frontend/src/features/chat/components/ChatInputBar.vue +++ b/frontend/src/features/chat/components/ChatInputBar.vue @@ -3,7 +3,7 @@ * 聊天输入栏:文本框、附件、语音、知识库选择与发送按钮。 */