feat 洗版设置

This commit is contained in:
jxxghp
2023-07-27 12:58:16 +08:00
parent a0b5e314ba
commit d62fe7cdb7
3 changed files with 24 additions and 1 deletions

View File

@@ -53,6 +53,10 @@ const subscribeForm = reactive({
// 订阅站点
sites: props.media?.sites,
// 是否洗版
best_version: !!props.media?.best_version,
})
// 上一次更新时间
@@ -218,6 +222,7 @@ const dropdownItems = ref([
<VCard
v-if="cardState"
:key="props.media?.id"
:class="`${props.media?.best_version ? 'outline-dotted' : ''}`"
@click="editSubscribeDialog"
>
<template #image>
@@ -413,6 +418,14 @@ const dropdownItems = ref([
/>
</VCol>
</VRow>
<VRow>
<VCol cols="12">
<VSwitch
v-model="subscribeForm.best_version"
label="洗版"
/>
</VCol>
</VRow>
</VForm>
</VCardText>