feat 目录监控可选监控模式

This commit is contained in:
thsrite
2024-10-23 11:34:09 +08:00
parent 6b9c74dcea
commit f906a172dd
2 changed files with 16 additions and 0 deletions

View File

@@ -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(
</VCol>
</VRow>
<VRow v-if="$props.directory.monitor_type">
<VCol cols="12" v-if="$props.directory.monitor_type == 'monitor'">
<VSelect
v-model="props.directory.monitor_mode"
variant="underlined"
:items="MonitorModeItems"
label="监控模式"
/>
</VCol>
<VCol cols="4">
<VSelect
v-model="props.directory.library_storage"