mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-14 19:05:07 +08:00
【优化】AI 切换对话,动态切换 chat 标题
This commit is contained in:
@ -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()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user