🎨客户端页码,如果不足一页不展示

This commit is contained in:
coward 2024-08-08 17:27:37 +08:00
parent 89c89a28ee
commit e8e174d075

View File

@ -125,7 +125,7 @@
</n-card>
</div>
<div mt-10 mb-20 min-h-45 flex items-center justify-between px-15>
<n-card style="margin-left: 1.65%; width: 97.25%">
<n-card v-if="listData.total > 8" style="margin-left: 1.65%; width: 97.25%">
<n-pagination
:item-count="listData.total"
v-model:page="search.page"