Skip to content

Commit

Permalink
fix: 修复顶部相关布局时,顶栏重复渲染
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Sep 20, 2024
1 parent 360fbab commit 868bf06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/components/Topbar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const settingsStore = useSettingsStore()
<div class="h-full flex items-center of-hidden pl-2 pr-16" style="mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent);">
<LeftSide />
</div>
<div v-show="['side', 'single'].includes(settingsStore.settings.menu.mode)" class="h-full flex items-center justify-end px-2">
<div v-if="['side', 'single'].includes(settingsStore.settings.menu.mode)" class="h-full flex items-center justify-end px-2">
<RightSide />
</div>
</div>
Expand Down

0 comments on commit 868bf06

Please sign in to comment.