添加了分页为空

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

@@ -34,8 +34,11 @@
</tbody>
</table>
<template v-if="!withdrawallist.total">
<a-empty />
</template>
<div class="pages">
<a-pagination v-model:current="page" :total="withdrawallist.total" :showLessItems="true" @change="pagechange"/>
<a-pagination v-if="!withdrawallist.total" v-model:current="page" :total="withdrawallist.total" :showLessItems="true" @change="pagechange"/>
</div>
</div>
<NavBottom class="navbottom"></NavBottom>

View File

@@ -193,9 +193,12 @@
</tbody>
</table>
<template v-if="!salelist.total">
<a-empty />
</template>
</div>
<div class="pages">
<a-pagination v-model:current="page" :total="salelist.total" :showLessItems="true" @change="pagechange"/>
<a-pagination v-if="!salelist.total" v-model:current="page" :total="salelist.total" :showLessItems="true" @change="pagechange"/>
</div>
</div>
<NavBottom class="navbottom"></NavBottom>