fix 电影日历显示

This commit is contained in:
jxxghp
2023-08-11 17:38:53 +08:00
parent 897a9d8561
commit f727ba09ca
+2 -2
View File
@@ -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 },
}) })