feat: 添加扫描目录功能,支持将目录文件扫描到队列

This commit is contained in:
jxxghp
2025-02-28 21:11:21 +08:00
parent 8cdd4b4af5
commit cb6be91538
6 changed files with 67 additions and 5 deletions

View File

@@ -11,6 +11,18 @@ defineProps({
required: true,
},
})
// 来源下拉框
const sourceOptions = ref([
{
title: '文件列表',
value: 'files',
},
{
title: '下载任务',
value: 'downloads',
},
])
</script>
<template>
<VCard max-width="20rem">
@@ -22,8 +34,16 @@ defineProps({
</VAvatar>
</template>
<VCardTitle>整理文件</VCardTitle>
<VCardSubtitle>整理下载队列中的文件</VCardSubtitle>
<VCardSubtitle>整理重命名队列中的文件</VCardSubtitle>
</VCardItem>
<VDivider />
<VCardText>
<VRow>
<VCol cols="12">
<VSelect v-model="data.source" label="来源" :items="sourceOptions" outlined dense />
</VCol>
</VRow>
</VCardText>
<Handle id="edge_out" type="source" :position="Position.Right" />
</VCard>
</template>