From ac8c09d53aaaafeeda4f26e18000d9bcf6b70254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=98=89=E6=82=A6?= Date: Mon, 2 Jun 2025 17:31:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B5=81=E5=BC=8F?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/chat/types.ts | 2 +- src/pages/chat/layouts/chatWithId/index.vue | 238 ++++---------------- src/stores/modules/chat.ts | 17 +- types/components.d.ts | 2 +- 4 files changed, 66 insertions(+), 193 deletions(-) diff --git a/src/api/chat/types.ts b/src/api/chat/types.ts index b438a7b..57fb29e 100644 --- a/src/api/chat/types.ts +++ b/src/api/chat/types.ts @@ -32,7 +32,7 @@ export interface SendDTO { /** * 会话id */ - sessionId?: number; + sessionId?: string; /** * 是否开启流式对话 */ diff --git a/src/pages/chat/layouts/chatWithId/index.vue b/src/pages/chat/layouts/chatWithId/index.vue index 425d8e2..5c4f678 100644 --- a/src/pages/chat/layouts/chatWithId/index.vue +++ b/src/pages/chat/layouts/chatWithId/index.vue @@ -1,10 +1,11 @@