fix(avatar): show current user's avatar (#640)

在显示头像的地方正确显示当前登录用户的头像,已补充mock接口返回的avatar字段。
This commit is contained in:
Netfan
2021-05-23 09:02:47 +08:00
committed by GitHub
parent d8ff30d9ec
commit 7519a00ada
9 changed files with 60 additions and 23 deletions

View File

@@ -33,6 +33,7 @@ export interface UserInfo {
userId: string | number;
username: string;
realName: string;
avatar: string;
desc?: string;
}