mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-06-19 23:02:00 +08:00
【优化】AI 对话,切换的id问题
This commit is contained in:
parent
58d3d1ed9a
commit
1a681c2063
@ -116,9 +116,8 @@ const searchConversation = () => {
|
||||
const handleConversationClick = async (id: number) => {
|
||||
// 切换对话
|
||||
activeConversationId.value = id
|
||||
|
||||
const filterConversation = conversationList.value.filter(item => {
|
||||
return item.id !== id
|
||||
return item.id === id
|
||||
})
|
||||
// 回调 onConversationClick
|
||||
emits('onConversationClick', filterConversation[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user