【解决todo】AI 角色仓库,使用角色不创建对话问题
This commit is contained in:
parent
f6698c0286
commit
32c6818ee8
@ -48,6 +48,7 @@
|
|||||||
:role-list="publicRoleList"
|
:role-list="publicRoleList"
|
||||||
@on-delete="handlerCardDelete"
|
@on-delete="handlerCardDelete"
|
||||||
@on-edit="handlerCardEdit"
|
@on-edit="handlerCardEdit"
|
||||||
|
@on-use="handlerCardUse"
|
||||||
@on-page="handlerCardPage('public')"
|
@on-page="handlerCardPage('public')"
|
||||||
style="margin-top: 20px;"
|
style="margin-top: 20px;"
|
||||||
loading/>
|
loading/>
|
||||||
@ -198,7 +199,7 @@ const handlerCardUse = async (role) => {
|
|||||||
const conversation = await ChatConversationApi.createChatConversationMy(data)
|
const conversation = await ChatConversationApi.createChatConversationMy(data)
|
||||||
// 调整页面
|
// 调整页面
|
||||||
router.push({
|
router.push({
|
||||||
path: `/ai/chat/index`,
|
path: `/ai/chat`,
|
||||||
query: {
|
query: {
|
||||||
conversationId: conversation,
|
conversationId: conversation,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user