From 4fd499438b7bd61718a1daadb731e549e825d9b3 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 29 Jul 2023 15:21:31 +0800 Subject: [PATCH] fix --- src/components/cards/MediaCard.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/components/cards/MediaCard.vue b/src/components/cards/MediaCard.vue index 80cedc1b..2c5bd6a3 100644 --- a/src/components/cards/MediaCard.vue +++ b/src/components/cards/MediaCard.vue @@ -296,19 +296,6 @@ function handleSubscribe() { handleAddSubscribe() } -// 拼装详情页链接 -function getDetailLink() { - let link = '' - if (props.media?.douban_id) - link = `https://movie.douban.com/subject/${props.media?.douban_id}/` - else if (props.media?.type === '电影') - link = `https://www.themoviedb.org/movie/${props.media?.tmdb_id}` - else if (props.media?.type === '电视剧') - link = `https://www.themoviedb.org/tv/${props.media?.tmdb_id}` - - return link -} - // 计算存在状态的颜色 function getExistColor(season: number) { const state = seasonsNotExisted.value[season]