【优化】AI 切换对话,动态切换 chat 标题
parent
b7d5ce4bc5
commit
22081cbd48
|
@ -386,6 +386,7 @@ const handlerTitleSuccess = async () => {
|
||||||
const handleConversationClick = async (conversation: ChatConversationVO) => {
|
const handleConversationClick = async (conversation: ChatConversationVO) => {
|
||||||
// 更新选中的对话 id
|
// 更新选中的对话 id
|
||||||
activeConversationId.value = conversation.id
|
activeConversationId.value = conversation.id
|
||||||
|
activeConversation.value = conversation
|
||||||
// 刷新 message 列表
|
// 刷新 message 列表
|
||||||
await getMessageList()
|
await getMessageList()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue