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}` + }) } // 添加角色成功