瀏覽代碼

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