优化文件浏览器样式,增加文件列表大小限制,调整文件导航器内边距

This commit is contained in:
jxxghp
2025-03-31 12:02:15 +08:00
parent f9f45d9e32
commit 21dbaf6db5
3 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ const inProps = defineProps({
required: true,
},
sort: String,
listStyle: String,
})
// 对外事件
@@ -598,7 +599,7 @@ onMounted(() => {
<!-- 目录和文件列表 -->
<VCardText v-else-if="dirs.length || files.length" class="p-0">
<VList subheader>
<VVirtualScroll :items="[...dirs, ...files]">
<VVirtualScroll :items="[...dirs, ...files]" :style="listStyle">
<template #default="{ item }">
<VHover>
<template #default="hover">