Merge pull request #208 from boeto/dev

This commit is contained in:
jxxghp
2024-10-22 00:04:35 +08:00
committed by GitHub
@@ -145,12 +145,14 @@ const dropdownItems = ref([
} }
" "
/> />
<VList lines="two" v-if="historyList.length > 0"> <!-- <VList lines="two" v-if="historyList.length > 0"> -->
<VList lines="two">
<VInfiniteScroll mode="intersect" side="end" :items="historyList" class="overflow-hidden" @load="loadHistory"> <VInfiniteScroll mode="intersect" side="end" :items="historyList" class="overflow-hidden" @load="loadHistory">
<template #loading> <template #loading>
<LoadingBanner /> <LoadingBanner />
</template> </template>
<template #empty /> <template #empty />
<template v-if="historyList.length > 0">
<template v-for="(item, i) in historyList" :key="i"> <template v-for="(item, i) in historyList" :key="i">
<VListItem> <VListItem>
<template #prepend> <template #prepend>
@@ -202,6 +204,7 @@ const dropdownItems = ref([
</template> </template>
</VListItem> </VListItem>
</template> </template>
</template>
</VInfiniteScroll> </VInfiniteScroll>
</VList> </VList>
<VCardText v-if="historyList.length === 0" class="text-center"> 没有已完成的订阅 </VCardText> <VCardText v-if="historyList.length === 0" class="text-center"> 没有已完成的订阅 </VCardText>