fix: avatar fallback position error

This commit is contained in:
chansee97 2024-04-09 09:31:00 +08:00
parent c0801e001e
commit b521eafe99

View File

@ -70,11 +70,12 @@ function handleSelect(key: string | number) {
> >
<n-avatar <n-avatar
round round
:src="'222' || userInfo?.avatar"
:src="userInfo?.avatar"
> >
<template #fallback> <template #fallback>
<icon-park-outline-user /> <div class="wh-full flex-center">
<icon-park-outline-user />
</div>
</template> </template>
</n-avatar> </n-avatar>
</n-dropdown> </n-dropdown>