优化: aichat 打磨收尾(切换信任保留 + save并发串行 + 后台授权守卫 + 分离窗口失效 + 气泡截图复制)
This commit is contained in:
@@ -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 ?? {})
|
||||
}
|
||||
|
||||
/** 后端原始错误转用户友好提示 */
|
||||
|
||||
Reference in New Issue
Block a user