소스 검색

【优化】AI 切换对话,动态切换 chat 标题

cherishsince 1 년 전
부모
커밋
22081cbd48
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/ai/chat/index.vue

+ 1 - 0
src/views/ai/chat/index.vue

@@ -386,6 +386,7 @@ const handlerTitleSuccess = async () => {
 const handleConversationClick = async (conversation: ChatConversationVO) => {
   // 更新选中的对话 id
   activeConversationId.value = conversation.id
+  activeConversation.value = conversation
   // 刷新 message 列表
   await getMessageList()
 }