ソースを参照

【增加】AI 角色调整

cherishsince 1 年間 前
コミット
9658af7c04
1 ファイル変更4 行追加1 行削除
  1. 4 1
      src/views/ai/chat/role/index.vue

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