Commit 32c6818e by cherishsince

【解决todo】AI 角色仓库,使用角色不创建对话问题

parent f6698c02
......@@ -48,6 +48,7 @@
:role-list="publicRoleList"
@on-delete="handlerCardDelete"
@on-edit="handlerCardEdit"
@on-use="handlerCardUse"
@on-page="handlerCardPage('public')"
style="margin-top: 20px;"
loading/>
......@@ -198,7 +199,7 @@ const handlerCardUse = async (role) => {
const conversation = await ChatConversationApi.createChatConversationMy(data)
// 调整页面
router.push({
path: `/ai/chat/index`,
path: `/ai/chat`,
query: {
conversationId: conversation,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment