From f6698c02862ed38c6bf7eeaef06728d6fe766a54 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 21 May 2024 22:05:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A7=A3=E5=86=B3todo=E3=80=91AI=20ch?= =?UTF-8?q?at=20=E8=BE=93=E5=85=A5=E6=A1=86=E5=A2=9E=E5=8A=A0=20shift=20+?= =?UTF-8?q?=20=E5=9B=9E=E8=BD=A6=20=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/chat/Message.vue | 1 + src/views/ai/chat/index.vue | 20 +++++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/views/ai/chat/Message.vue b/src/views/ai/chat/Message.vue index 14a63c90..279681f0 100644 --- a/src/views/ai/chat/Message.vue +++ b/src/views/ai/chat/Message.vue @@ -246,6 +246,7 @@ onMounted(async () => { padding: 10px; width: auto; overflow-wrap: break-word; + white-space: pre-wrap; } } diff --git a/src/views/ai/chat/index.vue b/src/views/ai/chat/index.vue index bce61cfe..a5c6da69 100644 --- a/src/views/ai/chat/index.vue +++ b/src/views/ai/chat/index.vue @@ -41,11 +41,11 @@ -
+