code refactor

This commit is contained in:
MaysWind
2025-01-21 23:47:22 +08:00
parent e053528abf
commit 58097331da
12 changed files with 19 additions and 56 deletions
@@ -410,9 +410,7 @@ const avatarUrl = ref<string>('');
const avatarProvider = ref<string | undefined>('');
const avatarNoCacheId = ref<string>('');
const currentUserAvatar = computed<string | null>(() => {
return userStore.getUserAvatarUrl(avatarUrl.value, avatarNoCacheId.value);
});
const currentUserAvatar = computed<string | null>(() => userStore.getUserAvatarUrl(avatarUrl.value, avatarNoCacheId.value));
function init(): void {
loading.value = true;