mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-08-21 10:39:51 +08:00
chore: modify header avatar
This commit is contained in:
parent
0df23f401d
commit
a53c9e57f5
@ -49,7 +49,7 @@ const appStore = useAppStore()
|
||||
<CollapaseButton />
|
||||
<Breadcrumb />
|
||||
</div>
|
||||
<div class="flex-y-center h-full">
|
||||
<div class="flex-y-center gap-1 h-full p-x-xl">
|
||||
<Search />
|
||||
<Notices />
|
||||
<FullScreen />
|
||||
|
@ -64,14 +64,15 @@ function handleSelect(key: string | number) {
|
||||
:options="options"
|
||||
@select="handleSelect"
|
||||
>
|
||||
<CommonWrapper>
|
||||
<n-avatar
|
||||
round
|
||||
size="large"
|
||||
:src="userInfo?.avatar"
|
||||
/>
|
||||
<span class="overflow-hidden text-ellipsis whitespace-nowrap">{{ userInfo?.nickname }}</span>
|
||||
</CommonWrapper>
|
||||
<n-avatar
|
||||
round
|
||||
|
||||
:src="userInfo?.avatar"
|
||||
>
|
||||
<template #fallback>
|
||||
<icon-park-outline-user />
|
||||
</template>
|
||||
</n-avatar>
|
||||
</n-dropdown>
|
||||
</template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user