mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-10 23:13:20 +08:00
fix browser
This commit is contained in:
@@ -3,13 +3,15 @@ import MediaCardListView from '@/views/discover/MediaCardListView.vue';
|
||||
|
||||
// 输入参数
|
||||
const props = defineProps({
|
||||
type: String,
|
||||
type: Array as PropType<string[]>,
|
||||
});
|
||||
|
||||
console.log(props.type);
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<MediaCardListView :apipath="props.type"/>
|
||||
<MediaCardListView :apipath="props.type?.join('/')"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -8,7 +8,7 @@ import MediaCardSlideView from '@/views/discover/MediaCardSlideView.vue';
|
||||
TMDB流行趋势
|
||||
</p>
|
||||
|
||||
<MediaCardSlideView apipath="/tmdb/trending"/>
|
||||
<MediaCardSlideView apipath="tmdb/trending"/>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user