소스 검색

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