diff --git a/src/views/ai/chat/Conversation.vue b/src/views/ai/chat/Conversation.vue index 5c929a12..b71846eb 100644 --- a/src/views/ai/chat/Conversation.vue +++ b/src/views/ai/chat/Conversation.vue @@ -260,6 +260,13 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => { message.success('重命名成功') // 刷新列表 await getChatConversationList() + // 过滤当前切换的 + const filterConversationList = conversationList.value.filter(item => { + return item.id === conversation.id + }) + if (filterConversationList.length > 0) { + emits('onConversationClick', filterConversationList[0]) + } } /**