♻️ Refactor post list

This commit is contained in:
2024-08-17 00:43:08 +08:00
parent 4a51a85d9c
commit 2b9601640b
11 changed files with 136 additions and 29 deletions

View File

@@ -24,11 +24,7 @@
</div>
</div>
<v-infinite-scroll :items="posts" :onLoad="loadPost">
<template v-for="item in posts" :key="item">
<post-item :post="item" />
</template>
</v-infinite-scroll>
<post-list v-if="account" :author="account.name" />
</v-container>
</template>