From dd8f9f1603b48417de8a312fec529ff59720e4f4 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sat, 3 May 2025 13:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=A4=E4=BA=92=E5=86=85?= =?UTF-8?q?=E5=AE=B9ai=E8=BE=93=E5=87=BA=E8=A7=A3=E6=9E=90=E8=BF=87?= =?UTF-8?q?=E5=A4=A7=E5=AF=BC=E8=87=B4=E5=B8=83=E5=B1=80=E6=89=93=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/gen-chat.vue | 6 +++--- src/views/system/kbase-chat.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/system/gen-chat.vue b/src/views/system/gen-chat.vue index d39e911..c2e0565 100644 --- a/src/views/system/gen-chat.vue +++ b/src/views/system/gen-chat.vue @@ -968,7 +968,7 @@ const getFileListData = async () => { .chat-messages { flex: 1; overflow-y: auto; /* 允许垂直滚动 */ - padding: 10px; + padding: 10px; margin-bottom: 20px; scrollbar-width: 10px; height: 100%; @@ -1013,13 +1013,13 @@ const getFileListData = async () => { border-radius: 4px; padding: 10px 15px; white-space: pre-wrap; - max-width: 70%; + max-width: 800px; } .message.assistant .message-content { background-color: #f3f4f6; border: 1px solid #dce4eb; - max-width: 70%; + max-width: 1000px; } .loading-indicator { diff --git a/src/views/system/kbase-chat.vue b/src/views/system/kbase-chat.vue index 6a46131..78cfcb1 100644 --- a/src/views/system/kbase-chat.vue +++ b/src/views/system/kbase-chat.vue @@ -911,13 +911,13 @@ const renderMarkdown = (message: Message, index:number) => { border-radius: 4px; padding: 10px 15px; white-space: pre-wrap; - max-width: 70%; + max-width: 800px; } .message.assistant .message-content { background-color: #f3f4f6; border: 1px solid #dce4eb; - max-width: 70%; + max-width: 1000px; } .loading-indicator {