{{ userInfo.name }}
@@ -64,9 +61,11 @@ import { useUserInfo } from '@/hooks/useCached.ts' import apis from '@/services/apis.ts' import { useCommon } from '@/hooks/useCommon.ts' import { useUserStore } from '@/stores/user.ts' +import { AvatarUtils } from '@/utils/avatarUtils' const globalStore = useGlobalStore() const userStore = useUserStore() +const avatarSrc = computed(() => AvatarUtils.getAvatarUrl(userStore.userInfo.avatar as string)) const { countGraphemes } = useCommon() const userInfo = ref(useUserInfo(globalStore.addFriendModalInfo.uid).value) const requestMsg = ref() diff --git a/src/components/common/InfoPopover.vue b/src/components/common/InfoPopover.vue index 8d6bf851..82090f36 100644 --- a/src/components/common/InfoPopover.vue +++ b/src/components/common/InfoPopover.vue @@ -3,24 +3,7 @@
@@ -64,20 +47,22 @@
{{ activeItem.name }}
@@ -122,16 +122,8 @@{{ item.name }}
-{{ item.name }}