优化: aichat 打磨收尾(切换信任保留 + save并发串行 + 后台授权守卫 + 分离窗口失效 + 气泡截图复制)

This commit is contained in:
lxy
2026-08-08 21:08:25 +08:00
parent 65c0f6b2b6
commit 6ba6daf188
14 changed files with 196 additions and 27 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ import { t } from '@/i18n/i18n-helpers'
import type { AiMessage, AiToolCallInfo, ConvState, MessageId } from '@/api/types'
/** 通知会话列表刷新(newConversation/deleteConversation/rename 等触发侧栏更新) */
export function notifyConversationChanged(): void {
emit('ai-conversation-changed', {})
export function notifyConversationChanged(payload?: { deletedConvId?: string }): void {
emit('ai-conversation-changed', payload ?? {})
}
/** 后端原始错误转用户友好提示 */