diff --git a/src/api/types.ts b/src/api/types.ts index 2d11feaa..1d98e81d 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -13,7 +13,11 @@ export interface Subscribe { // 搜索关键字 keyword?: string + + // TMDB ID tmdbid: number + + // 豆瓣ID doubanid?: string // 季号 @@ -63,6 +67,12 @@ export interface Subscribe { // 订阅站点 sites: number[] + + // 是否洗版 + best_version: number + + // 当前优先级 + current_priority: number } // 历史记录 diff --git a/src/components/cards/SubscribeCard.vue b/src/components/cards/SubscribeCard.vue index f8c60120..68670690 100644 --- a/src/components/cards/SubscribeCard.vue +++ b/src/components/cards/SubscribeCard.vue @@ -53,6 +53,10 @@ const subscribeForm = reactive({ // 订阅站点 sites: props.media?.sites, + + // 是否洗版 + best_version: !!props.media?.best_version, + }) // 上一次更新时间 @@ -218,6 +222,7 @@ const dropdownItems = ref([