mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
style(VSelect): add clearable option
This commit is contained in:
@@ -94,6 +94,7 @@ onMounted(() => {
|
|||||||
chips
|
chips
|
||||||
label=""
|
label=""
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
@update:modelValue="filtersChanged"
|
@update:modelValue="filtersChanged"
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
|
|||||||
@@ -330,6 +330,7 @@ onMounted(() => {
|
|||||||
:items="librariesOptions"
|
:items="librariesOptions"
|
||||||
chips
|
chips
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
hint="只有选中的媒体库才会被同步"
|
hint="只有选中的媒体库才会被同步"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
active
|
active
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ function onClose() {
|
|||||||
label="消息类型"
|
label="消息类型"
|
||||||
hint="开启通知的消息类型"
|
hint="开启通知的消息类型"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
chips
|
chips
|
||||||
persistent-hint
|
persistent-hint
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -387,6 +387,7 @@ onMounted(() => {
|
|||||||
chips
|
chips
|
||||||
label="订阅站点"
|
label="订阅站点"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
hint="订阅的站点范围,不选使用系统设置"
|
hint="订阅的站点范围,不选使用系统设置"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
/>
|
/>
|
||||||
@@ -447,6 +448,7 @@ onMounted(() => {
|
|||||||
:items="filterRuleGroupOptions"
|
:items="filterRuleGroupOptions"
|
||||||
chips
|
chips
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
label="优先级规则组"
|
label="优先级规则组"
|
||||||
hint="按选定的过滤规则组对订阅进行过滤"
|
hint="按选定的过滤规则组对订阅进行过滤"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
|
|||||||
@@ -277,6 +277,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="站点"
|
label="站点"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="seasonFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="seasonFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -288,6 +289,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="季集"
|
label="季集"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="releaseGroupFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="releaseGroupFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -299,6 +301,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="制作组"
|
label="制作组"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="editionFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="editionFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -310,6 +313,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="质量"
|
label="质量"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="resolutionFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="resolutionFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -321,6 +325,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="分辨率"
|
label="分辨率"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="videoCodeFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="videoCodeFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -332,6 +337,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="视频编码"
|
label="视频编码"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="freeStateFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="freeStateFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -343,6 +349,7 @@ function loadMore({ done }: { done: any }) {
|
|||||||
chips
|
chips
|
||||||
label="促销状态"
|
label="促销状态"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
</VRow>
|
</VRow>
|
||||||
|
|||||||
@@ -388,6 +388,7 @@ onBeforeMount(async () => {
|
|||||||
chips
|
chips
|
||||||
label="作者"
|
label="作者"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="labelFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="labelFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -399,6 +400,7 @@ onBeforeMount(async () => {
|
|||||||
chips
|
chips
|
||||||
label="标签"
|
label="标签"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="repoFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="repoFilterOptions.length > 0" cols="6" md="">
|
||||||
@@ -410,6 +412,7 @@ onBeforeMount(async () => {
|
|||||||
chips
|
chips
|
||||||
label="插件库"
|
label="插件库"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
<VCol v-if="repoFilterOptions.length > 0" cols="6" md="">
|
<VCol v-if="repoFilterOptions.length > 0" cols="6" md="">
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ onMounted(() => {
|
|||||||
v-model="selectedTorrentPriority"
|
v-model="selectedTorrentPriority"
|
||||||
:items="TorrentPriorityItems"
|
:items="TorrentPriorityItems"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
chips
|
chips
|
||||||
label="当前使用下载优先规则"
|
label="当前使用下载优先规则"
|
||||||
hint="排在前面的优先级越高,未选择的项不纳入排序"
|
hint="排在前面的优先级越高,未选择的项不纳入排序"
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ onMounted(() => {
|
|||||||
<VSelect
|
<VSelect
|
||||||
v-model="selectedMediaSource"
|
v-model="selectedMediaSource"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
chips
|
chips
|
||||||
:items="mediaSourcesDict"
|
:items="mediaSourcesDict"
|
||||||
label="媒体数据源"
|
label="媒体数据源"
|
||||||
@@ -159,6 +160,7 @@ onMounted(() => {
|
|||||||
<VSelect
|
<VSelect
|
||||||
v-model="selectedFilterGroup"
|
v-model="selectedFilterGroup"
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
chips
|
chips
|
||||||
:items="filterRuleGroupOptions"
|
:items="filterRuleGroupOptions"
|
||||||
label="优先级规则组"
|
label="优先级规则组"
|
||||||
|
|||||||
@@ -199,6 +199,7 @@ onMounted(() => {
|
|||||||
:items="filterRuleGroupOptions"
|
:items="filterRuleGroupOptions"
|
||||||
chips
|
chips
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
label="订阅优先级规则组"
|
label="订阅优先级规则组"
|
||||||
hint="按选定的过滤规则组对订阅进行过滤"
|
hint="按选定的过滤规则组对订阅进行过滤"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
@@ -210,6 +211,7 @@ onMounted(() => {
|
|||||||
:items="filterRuleGroupOptions"
|
:items="filterRuleGroupOptions"
|
||||||
chips
|
chips
|
||||||
multiple
|
multiple
|
||||||
|
clearable
|
||||||
label="洗版优先级规则组"
|
label="洗版优先级规则组"
|
||||||
hint="按选定的过滤规则组对洗版订阅进行过滤"
|
hint="按选定的过滤规则组对洗版订阅进行过滤"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
|
|||||||
Reference in New Issue
Block a user