修复文件浏览器工具栏中的“向上”按钮,仅在路径段存在时显示

This commit is contained in:
jxxghp
2025-05-08 13:13:49 +08:00
parent ddc5320f71
commit 6276009e88

View File

@@ -162,7 +162,7 @@ const sortIcon = computed(() => {
<IconBtn @click="changeSort">
<VIcon :icon="sortIcon" />
</IconBtn>
<IconBtn @click="goUp">
<IconBtn v-if="pathSegments.length > 0" @click="goUp">
<VIcon icon="mdi-arrow-up-bold-outline" />
</IconBtn>
<VDialog v-model="newFolderPopper" max-width="35rem">