mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
fix 电影日历显示
This commit is contained in:
@@ -33,11 +33,11 @@ const calendarOptions: Ref<CalendarOptions> = ref({
|
|||||||
events: [],
|
events: [],
|
||||||
})
|
})
|
||||||
|
|
||||||
async function eventsHander(subscribe: any) {
|
async function eventsHander(subscribe: Subscribe | Rss) {
|
||||||
// 如果是电影直接返回
|
// 如果是电影直接返回
|
||||||
if (subscribe.type === '电影') {
|
if (subscribe.type === '电影') {
|
||||||
// 调用API查询TMDB详情
|
// 调用API查询TMDB详情
|
||||||
const movie: MediaInfo = await api.get(`media/${subscribe.tmdbid}`, {
|
const movie: MediaInfo = await api.get(`media/tmdb:${subscribe.tmdbid}`, {
|
||||||
params: { type_name: subscribe.type },
|
params: { type_name: subscribe.type },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user