From 1795f09db98442ee6c8a71c70c12f3184b828804 Mon Sep 17 00:00:00 2001 From: godo Date: Fri, 29 Nov 2024 16:37:45 +0800 Subject: [PATCH] change chat bug --- frontend/src/components/localchat/AiChatLeft.vue | 2 +- frontend/src/components/localchat/AiChatMain.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/localchat/AiChatLeft.vue b/frontend/src/components/localchat/AiChatLeft.vue index 2243685..c3f1fcd 100644 --- a/frontend/src/components/localchat/AiChatLeft.vue +++ b/frontend/src/components/localchat/AiChatLeft.vue @@ -74,7 +74,7 @@ const chatStore = useAiChatStore(); .list-item { width: 95%; - height: 60px; + height: 65px; transition: all 0.5s; margin: 0 auto; border-radius: 4px; diff --git a/frontend/src/components/localchat/AiChatMain.vue b/frontend/src/components/localchat/AiChatMain.vue index aa6519a..03faba6 100644 --- a/frontend/src/components/localchat/AiChatMain.vue +++ b/frontend/src/components/localchat/AiChatMain.vue @@ -19,7 +19,7 @@ const userMessage = ref(""); const promptMessage = computed(() => { return [ { - content: chatStore.chatInfo.prompt, + content: chatStore.chatInfo.prompt || "", chatType: "chat", chatId: chatStore.activeId, role: "system",