feat: update indicator

This commit is contained in:
Rogee
2025-05-07 09:15:18 +08:00
parent 1c75b50915
commit aa3491df40

View File

@@ -79,10 +79,6 @@ onMounted(() => {
<div class="flex-1 overflow-y-auto"> <div class="flex-1 overflow-y-auto">
<div class="p-4"> <div class="p-4">
<div v-if="articles.length === 0 && !loading" class="text-center text-gray-500 py-8">
暂无文章
</div>
<ArticleListItem v-for="article in articles" :key="article.id" :article="article" class="mb-4" /> <ArticleListItem v-for="article in articles" :key="article.id" :article="article" class="mb-4" />
<div ref="loadingTrigger" class="py-4 text-center" v-show="hasMore || loading"> <div ref="loadingTrigger" class="py-4 text-center" v-show="hasMore || loading">