mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
refactor(DirectoryCard): update storage options and labels for clarity
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user