mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 10:00:08 +08:00
rsscard filter option
This commit is contained in:
@@ -884,6 +884,8 @@ export interface Rss {
|
||||
best_version?: number
|
||||
// 是否使用代理服务器
|
||||
proxy?: number
|
||||
// 是否使用过滤规则
|
||||
filter?: boolean
|
||||
// 保存路径
|
||||
save_path?: string
|
||||
// 已处理数量
|
||||
|
||||
@@ -70,9 +70,11 @@ const rssForm = reactive({
|
||||
// 排除
|
||||
exclude: props.media?.exclude,
|
||||
// 洗版
|
||||
best_version: props.media?.best_version,
|
||||
best_version: !!props.media?.best_version,
|
||||
// 是否使用代理服务器
|
||||
proxy: props.media?.proxy,
|
||||
proxy: !!props.media?.proxy,
|
||||
// 是否使用过滤规则
|
||||
filter: !!props.media?.filter,
|
||||
// 保存路径
|
||||
save_path: props.media?.save_path,
|
||||
// 状态 0-停用,1-启用
|
||||
@@ -491,7 +493,7 @@ onMounted(() => {
|
||||
<VRow>
|
||||
<VCol
|
||||
cols="12"
|
||||
md="6"
|
||||
md="4"
|
||||
>
|
||||
<VSwitch
|
||||
v-model="rssForm.best_version"
|
||||
@@ -500,13 +502,22 @@ onMounted(() => {
|
||||
</VCol>
|
||||
<VCol
|
||||
cols="12"
|
||||
md="6"
|
||||
md="4"
|
||||
>
|
||||
<VSwitch
|
||||
v-model="rssForm.proxy"
|
||||
label="代理服务器"
|
||||
/>
|
||||
</VCol>
|
||||
<VCol
|
||||
cols="12"
|
||||
md="4"
|
||||
>
|
||||
<VSwitch
|
||||
v-model="rssForm.filter"
|
||||
label="过滤规则"
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
</VForm>
|
||||
</VCardText>
|
||||
|
||||
@@ -42,6 +42,8 @@ const rssForm = reactive({
|
||||
best_version: false,
|
||||
// 是否使用代理服务器
|
||||
proxy: false,
|
||||
// 是否使用过滤规则
|
||||
filter: true,
|
||||
// 保存路径
|
||||
save_path: '',
|
||||
// 状态 0-停用,1-启用
|
||||
@@ -276,7 +278,7 @@ function onRefresh() {
|
||||
<VRow>
|
||||
<VCol
|
||||
cols="12"
|
||||
md="6"
|
||||
md="4"
|
||||
>
|
||||
<VSwitch
|
||||
v-model="rssForm.best_version"
|
||||
@@ -285,13 +287,22 @@ function onRefresh() {
|
||||
</VCol>
|
||||
<VCol
|
||||
cols="12"
|
||||
md="6"
|
||||
md="4"
|
||||
>
|
||||
<VSwitch
|
||||
v-model="rssForm.proxy"
|
||||
label="代理服务器"
|
||||
/>
|
||||
</VCol>
|
||||
<VCol
|
||||
cols="12"
|
||||
md="4"
|
||||
>
|
||||
<VSwitch
|
||||
v-model="rssForm.filter"
|
||||
label="过滤规则"
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
</VForm>
|
||||
</VCardText>
|
||||
|
||||
Reference in New Issue
Block a user