diff --git a/.env.development b/.env.development index 64c2bdd4..b27eade5 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_BASE_URL=http://10.10.10.10:3001/api/v1/ +VITE_API_BASE_URL=http://localhost:3001/api/v1/ diff --git a/src/api/types.ts b/src/api/types.ts index 5b26e2a1..9e60d3f3 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -90,6 +90,8 @@ export interface MediaInfo { title?: string // 年份 year?: string + // 季号 + season?: number; // TMDB ID tmdb_id?: number // IMDB ID diff --git a/src/components/cards/MediaCard.vue b/src/components/cards/MediaCard.vue index 18b0c3ce..a1ac04bb 100644 --- a/src/components/cards/MediaCard.vue +++ b/src/components/cards/MediaCard.vue @@ -1,5 +1,6 @@ @@ -83,7 +151,11 @@ const getChipColor = (type: string) => {