mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 07:28:37 +08:00
更新 MediaCard.vue
This commit is contained in:
@@ -108,7 +108,7 @@ async function addSubscribe(season = 0) {
|
|||||||
try {
|
try {
|
||||||
// 是否洗版
|
// 是否洗版
|
||||||
let best_version = isExists.value ? 1 : 0
|
let best_version = isExists.value ? 1 : 0
|
||||||
if (props.media?.type === '电视剧')
|
if (props.media?.type === '电视剧' && props.media?.tmdb_id)
|
||||||
// 全部存在时洗版
|
// 全部存在时洗版
|
||||||
best_version = (!seasonsNotExisted.value[season] || seasonsNotExisted.value[season] === 0) ? 1 : 0
|
best_version = (!seasonsNotExisted.value[season] || seasonsNotExisted.value[season] === 0) ? 1 : 0
|
||||||
// 请求API
|
// 请求API
|
||||||
|
|||||||
Reference in New Issue
Block a user