diff --git a/src/api/types.ts b/src/api/types.ts index 7ecea116..fa717550 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -1042,6 +1042,8 @@ export interface TransferDirectoryConf { download_category_folder?: boolean // 监控方式 downloader/monitor,None为不监控 monitor_type?: string + // 监控模式 fast/compatibility + monitor_mode?: string // 整理方式 move/copy/link/softlink transfer_type?: string // 文件覆盖模式 always/size/never/latest diff --git a/src/components/cards/DirectoryCard.vue b/src/components/cards/DirectoryCard.vue index e95bdb6d..db7b7580 100644 --- a/src/components/cards/DirectoryCard.vue +++ b/src/components/cards/DirectoryCard.vue @@ -48,6 +48,12 @@ const transferSourceItems = [ { title: '目录监控', value: 'monitor' }, ] +// 监控模式下拉字典 +const MonitorModeItems = [ + { title: '性能模式', value: 'fast' }, + { title: '兼容模式', value: 'compatibility' }, +] + // 整理方式下拉字典 const transferTypeItems = ref<{ title: string; value: string }[]>([]) @@ -236,6 +242,14 @@ watch( + + +