code refactor
This commit is contained in:
+1
-1
@@ -290,7 +290,7 @@ export const useUserStore = defineStore('user', () => {
|
||||
});
|
||||
}
|
||||
|
||||
function getUserAvatarUrl(userInfoOrAvatarUrl: UserBasicInfo | string, disableBrowserCache: boolean | string): string | null {
|
||||
function getUserAvatarUrl(userInfoOrAvatarUrl: UserBasicInfo | string | null, disableBrowserCache: boolean | string): string | null {
|
||||
let avatarUrl = '';
|
||||
|
||||
if (isObject(userInfoOrAvatarUrl)) {
|
||||
|
||||
Reference in New Issue
Block a user