refactor: ♻️ userStore 代码重构优化

Former-commit-id: ef31b8420a48a91dd2449d62fb615941d528bf24
This commit is contained in:
郝先瑞
2023-09-11 18:20:03 +08:00
parent 7fcf66c8d0
commit 18daf33f9d
8 changed files with 32 additions and 44 deletions

View File

@@ -2,9 +2,10 @@
* 登录用户信息
*/
export interface UserInfo {
userId: number;
nickname: string;
avatar: string;
userId?: number;
username?: string;
nickname?: string;
avatar?: string;
roles: string[];
perms: string[];
}