Sfoglia il codice sorgente

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

cherishsince 1 anno fa
parent
commit
6fc5f8c685
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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(
     {} as unknown as ChatConversationVO
   )
-  // 2、选中对话
-  await handleConversationClick(conversationId)
-  // 3、获取对话内容
+  // 2、获取对话内容
   await getChatConversationList()
+  // 3、选中对话
+  await handleConversationClick(conversationId)
 }
 
 /**