refactor(DirectoryCard): update storage options and labels for clarity

This commit is contained in:
jxxghp
2024-12-06 12:09:24 +08:00
parent 14e33215f8
commit 2620a55c5a
+3 -11
View File
@@ -29,14 +29,6 @@ const libraryPath = ref<string>('')
// 卡版是否折叠状态 // 卡版是否折叠状态
const isCollapsed = ref(true) const isCollapsed = ref(true)
// 下载目录存储选项
const downloadStoragies = [
{
title: '本地',
value: 'local',
},
]
// 类型下拉字典 // 类型下拉字典
const typeItems = [ const typeItems = [
{ title: '全部', value: '' }, { title: '全部', value: '' },
@@ -231,8 +223,8 @@ watch(
<VSelect <VSelect
v-model="props.directory.storage" v-model="props.directory.storage"
variant="underlined" variant="underlined"
:items="downloadStoragies" :items="storageOptions"
label="下载存储" label="下载存储/源存储"
/> />
</VCol> </VCol>
<VCol cols="8"> <VCol cols="8">
@@ -242,7 +234,7 @@ watch(
v-model="props.directory.download_path" v-model="props.directory.download_path"
v-bind="menuprops" v-bind="menuprops"
variant="underlined" variant="underlined"
label="下载目录" label="下载目录/源目录"
/> />
</template> </template>
</VPathField> </VPathField>