mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
refactor(components): 将 VSelect 组件替换为 VAutocomplete组件
- 在 DirectoryCard.vue 中将 VSelect 替换为VAutocomplete,用于 library_storage 字段 - 在 FilterRuleGroupCard.vue 中将两个 VSelect 组件替换为 VAutocomplete,用于 media_type 和 category 字段
This commit is contained in:
@@ -277,7 +277,7 @@ watch(
|
|||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol cols="4">
|
<VCol cols="4">
|
||||||
<VSelect
|
<VAutocomplete
|
||||||
v-model="props.directory.library_storage"
|
v-model="props.directory.library_storage"
|
||||||
variant="underlined"
|
variant="underlined"
|
||||||
:items="libraryStorageOptions"
|
:items="libraryStorageOptions"
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ function onClose() {
|
|||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol cols="6" md="3">
|
<VCol cols="6" md="3">
|
||||||
<VSelect
|
<VAutocomplete
|
||||||
v-model="groupInfo.media_type"
|
v-model="groupInfo.media_type"
|
||||||
:label="t('filterRule.mediaType')"
|
:label="t('filterRule.mediaType')"
|
||||||
:items="mediaTypeItems"
|
:items="mediaTypeItems"
|
||||||
@@ -258,7 +258,7 @@ function onClose() {
|
|||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol cols="6" md="3">
|
<VCol cols="6" md="3">
|
||||||
<VSelect
|
<VAutocomplete
|
||||||
v-model="groupInfo.category"
|
v-model="groupInfo.category"
|
||||||
:items="getCategories"
|
:items="getCategories"
|
||||||
:label="t('filterRule.category')"
|
:label="t('filterRule.category')"
|
||||||
|
|||||||
Reference in New Issue
Block a user