From 175f9d58ade3ab5bf0821b576fefadfbaea2d475 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 14 May 2024 17:58:06 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E6=8B=89?= =?UTF-8?q?=E5=8E=BB=E5=AF=B9=E8=AF=9D=E4=BF=A1=E6=81=AF=EF=BC=8C=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E5=88=87=E6=8D=A2=E7=9A=84=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ai/chat/conversation/index.ts | 2 +- src/views/ai/chat/index.vue | 38 +++++++++++++++------------ 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/src/api/ai/chat/conversation/index.ts b/src/api/ai/chat/conversation/index.ts index 6a78377f..565c020c 100644 --- a/src/api/ai/chat/conversation/index.ts +++ b/src/api/ai/chat/conversation/index.ts @@ -27,7 +27,7 @@ export interface ChatConversationUpdateVO { // AI chat 聊天 export const ChatConversationApi = { // 获取 Conversation - get: async (id: number) => { + get: async (id: string) => { return await request.get({ url: `/ai/chat/conversation/get?id=${id}`}) }, // 更新 Conversation diff --git a/src/views/ai/chat/index.vue b/src/views/ai/chat/index.vue index 7726db19..4b41778c 100644 --- a/src/views/ai/chat/index.vue +++ b/src/views/ai/chat/index.vue @@ -179,7 +179,11 @@