【增加】AI 配置 Chat角色

This commit is contained in:
cherishsince
2024-05-16 00:18:29 +08:00
parent 9658af7c04
commit f14032d69d
3 changed files with 21 additions and 11 deletions

View File

@ -149,7 +149,10 @@ const handlerCardUse = async (role) => {
const conversation = await ChatConversationApi.createChatConversationMy(data)
// 调整页面
router.push({
path: `/ai/chat/index?conversationId=${conversation.id}`
path: `/ai/chat/index`,
query: {
conversationId: conversation,
}
})
}