浏览代码

【优化】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()
 }