feat:移除了弹窗,服务器添加sls

This commit is contained in:
AxTps committed 2026-09-08 22:39:45 +08:00
commit 6a295f9a7a
4082 files changed
+1322534

No files matched your search

@@ -0,0 +1,10 @@
export function resolveBreadcrumbLabel<Message>(
name: string,
getDynamicName: (key: string) => string,
staticLabels: Readonly<Record<string, Message>>,
formatMessage: (message: Message) => string,
): string {
if (name.startsWith('?')) return getDynamicName(name.slice(1))
const label = staticLabels[name]
return label === undefined ? name : formatMessage(label)
}