Commit 689d92dc by cherishsince

【解决todo】AI 对话修改,避免切换对话

parent fa4081d6
...@@ -281,8 +281,11 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => { ...@@ -281,8 +281,11 @@ 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])
} }
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment