mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 18:10:49 +08:00
fix
This commit is contained in:
@@ -120,7 +120,12 @@ const fetchData = async ({ done }: { done: any }) => {
|
||||
>
|
||||
<template #loading />
|
||||
<div class="grid gap-4 grid-media-card mx-3" v-if="dataList.length > 0">
|
||||
<MediaCard v-for="data in dataList" :key="data.tmdb_id" :media="data"> </MediaCard>
|
||||
<MediaCard
|
||||
v-for="data in dataList"
|
||||
:key="data.tmdb_id || data.douban_id"
|
||||
:media="data"
|
||||
>
|
||||
</MediaCard>
|
||||
</div>
|
||||
<NoDataFound
|
||||
v-if="dataList.length === 0 && isRefreshed"
|
||||
|
||||
@@ -8,7 +8,6 @@ const props = defineProps({
|
||||
apipath: String,
|
||||
});
|
||||
|
||||
|
||||
// 组件加载完成
|
||||
const componentLoaded = ref(false);
|
||||
|
||||
@@ -39,7 +38,12 @@ onMounted(fetchData);
|
||||
<VBtn class="rounded-circle shadow-none" icon="mdi-chevron-left" color="grey" />
|
||||
</template>
|
||||
<VSlideGroupItem v-for="data in dataList" :key="data.tmdb_id">
|
||||
<MediaCard :media="data" height="15rem" width="10rem" />
|
||||
<MediaCard
|
||||
:media="data"
|
||||
height="15rem"
|
||||
width="10rem"
|
||||
:key="data.tmdb_id || data.douban_id"
|
||||
/>
|
||||
</VSlideGroupItem>
|
||||
<template #next>
|
||||
<VBtn class="rounded-circle shadow-none" icon="mdi-chevron-right" color="grey" />
|
||||
|
||||
Reference in New Issue
Block a user