【解决todo】AI 对话修改,避免切换对话
This commit is contained in:
parent
fa4081d669
commit
689d92dc66
@ -281,7 +281,10 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => {
|
||||
return item.id === conversation.id
|
||||
})
|
||||
if (filterConversationList.length > 0) {
|
||||
emits('onConversationClick', filterConversationList[0])
|
||||
// tip:避免切换对话
|
||||
if (activeConversationId.value === filterConversationList[0].id) {
|
||||
emits('onConversationClick', filterConversationList[0])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user