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 />
|
<CollapaseButton />
|
||||||
<Breadcrumb />
|
<Breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-y-center h-full">
|
<div class="flex-y-center gap-1 h-full p-x-xl">
|
||||||
<Search />
|
<Search />
|
||||||
<Notices />
|
<Notices />
|
||||||
<FullScreen />
|
<FullScreen />
|
||||||
|
@ -64,14 +64,15 @@ function handleSelect(key: string | number) {
|
|||||||
:options="options"
|
:options="options"
|
||||||
@select="handleSelect"
|
@select="handleSelect"
|
||||||
>
|
>
|
||||||
<CommonWrapper>
|
<n-avatar
|
||||||
<n-avatar
|
round
|
||||||
round
|
|
||||||
size="large"
|
:src="userInfo?.avatar"
|
||||||
:src="userInfo?.avatar"
|
>
|
||||||
/>
|
<template #fallback>
|
||||||
<span class="overflow-hidden text-ellipsis whitespace-nowrap">{{ userInfo?.nickname }}</span>
|
<icon-park-outline-user />
|
||||||
</CommonWrapper>
|
</template>
|
||||||
|
</n-avatar>
|
||||||
</n-dropdown>
|
</n-dropdown>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user