This commit is contained in:
zlwu committed 2026-08-03 00:48:46 +08:00
1 parent 272c68af4b
commit 40fc54942b
76 files changed
+464684 -14130

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
/** 未设置头像时使用 `public/favicon.svg`(根路径 `/favicon.svg`) */
export const DEFAULT_USER_AVATAR_URL = '/favicon.svg'
/** 未设置头像时使用 `public/avatar.svg`(根路径 `/avatar.svg`) */
export const DEFAULT_USER_AVATAR_URL = '/avatar.svg'
/** @deprecated 各角色默认已统一为默认头像图,保留参数仅为兼容旧调用 */
export function defaultAvatarPathByRole(_role: string | undefined): string {