Skip to content

Commit 28cc84f

Browse files
committed
fix: 修复账户按钮移动端次导航下不实现用户名
1 parent 094ee89 commit 28cc84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/components/AccountButton/index.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const isProfileShow = ref(false)
6767
<FaAvatar :src="userStore.avatar" :class="cn('size-6', { 'size-full': onlyAvatar })">
6868
<FaIcon name="i-carbon:user-avatar-filled" class="size-6 text-secondary-foreground/50" />
6969
</FaAvatar>
70-
<div v-if="settingsStore.mode === 'pc' && !onlyAvatar" class="min-w-0 flex-center-between flex-1 gap-2">
70+
<div v-if="!onlyAvatar" class="min-w-0 flex-center-between flex-1 gap-2">
7171
<div class="flex-1 truncate text-start">
7272
{{ userStore.account }}
7373
</div>

0 commit comments

Comments
 (0)