feat: 更新用户显示名称格式化逻辑,优化头像获取方式,增强用户界面

This commit is contained in:
2025-09-22 21:07:48 +08:00
parent 42496cfe5a
commit aeff954481
5 changed files with 76 additions and 15 deletions

View File

@ -1,12 +1,12 @@
export interface User {
id: number;
username: string;
nickname: string;
avatarUrl: string;
nickname?: string;
avatarUrl?: string;
email: string;
gender: string;
gender?: string;
role: string;
language: string;
language?: string;
}
export enum Role {