From 9658af7c04dc4ca629eaa8b5fdee17572595e961 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Wed, 15 May 2024 23:57:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91AI=20?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/chat/role/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/ai/chat/role/index.vue b/src/views/ai/chat/role/index.vue index 3bfc9b84..ee2fd4d5 100644 --- a/src/views/ai/chat/role/index.vue +++ b/src/views/ai/chat/role/index.vue @@ -147,7 +147,10 @@ const handlerCardUse = async (role) => { } as unknown as ChatConversationVO // 创建对话 const conversation = await ChatConversationApi.createChatConversationMy(data) - + // 调整页面 + router.push({ + path: `/ai/chat/index?conversationId=${conversation.id}` + }) } // 添加角色成功