mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
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 = '';
|
let avatarUrl = '';
|
||||||
|
|
||||||
if (isObject(userInfoOrAvatarUrl)) {
|
if (isObject(userInfoOrAvatarUrl)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user