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