vue3.0+vite+naive
<n-dropdown
v-if="username"
trigger="click"
placement="bottom-start"
size="medium"
:options="avatarOptions"
@select="handleSelect">
<n-avatar
round
size="medium"
src="https://portrait.gitee.com/uploads/avatars/user/2962/8886246_iajie_1625646843.png!avatar100"
fallback-src="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg"
/>
{{ 'admin' }}
</n-dropdown>
不能在头像后加内容