mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-19 02:19:30 +08:00
fix 电影日历显示
This commit is contained in:
@@ -33,11 +33,11 @@ const calendarOptions: Ref<CalendarOptions> = ref({
|
||||
events: [],
|
||||
})
|
||||
|
||||
async function eventsHander(subscribe: any) {
|
||||
async function eventsHander(subscribe: Subscribe | Rss) {
|
||||
// 如果是电影直接返回
|
||||
if (subscribe.type === '电影') {
|
||||
// 调用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 },
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user