瀏覽代碼

【优化】AI 对话创建对话切换对话问题

cherishsince 1 年之前
父節點
當前提交
6fc5f8c685
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/ai/chat/Conversation.vue

+ 3 - 3
src/views/ai/chat/Conversation.vue

@@ -189,10 +189,10 @@ const createConversation = async () => {
   const conversationId = await ChatConversationApi.createChatConversationMy(
   const conversationId = await ChatConversationApi.createChatConversationMy(
     {} as unknown as ChatConversationVO
     {} as unknown as ChatConversationVO
   )
   )
-  // 2、选中对话
-  await handleConversationClick(conversationId)
-  // 3、获取对话内容
+  // 2、获取对话内容
   await getChatConversationList()
   await getChatConversationList()
+  // 3、选中对话
+  await handleConversationClick(conversationId)
 }
 }
 
 
 /**
 /**