From 39946cad1b1c375250309b594b2b81e9ec055fdb Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 14 Nov 2024 14:38:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20FileList=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=AD=E7=9A=84=E6=96=87=E4=BB=B6=E5=92=8C?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/filebrowser/FileList.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/filebrowser/FileList.vue b/src/components/filebrowser/FileList.vue index fb1d5fab..fceea9cb 100644 --- a/src/components/filebrowser/FileList.vue +++ b/src/components/filebrowser/FileList.vue @@ -106,9 +106,6 @@ const files = computed(() => items.value.filter(item => item.type === 'file' && // 是否文件 const isFile = computed(() => inProps.item.type == 'file') -// 是否目录 -const isDir = computed(() => !isFile.value) - // 需要整理的文件项 const transferItems = ref([]) @@ -622,7 +619,8 @@ onMounted(() => { v-if="inProps.icons && item.extension" :icon="inProps.icons[item.extension.toLowerCase()] || inProps.icons?.other" /> - + +