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