添加了分页为空

This commit is contained in:
2020-11-03 11:20:10 +08:00
parent 81895edf3d
commit f1667c865e
5 changed files with 21 additions and 6 deletions

View File

@@ -63,8 +63,11 @@
:zid="i.liveid"
></LiveItem>
</div>
<template v-if="!livelist.total">
<a-empty />
</template>
<div class="pages">
<a-pagination v-model:current="page" :total="livelist.total" :showLessItems="true" />
<a-pagination v-if="!livelist.total" v-model:current="page" :total="livelist.total" :showLessItems="true" />
</div>
</div>
</template>