添加了分页为空

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

@@ -50,11 +50,13 @@
</div>
</div>
</div>
<template v-if="!teacherlikedlist.total">
<a-empty />
</template>
</div>
</div>
<div class="pages">
<a-pagination v-model:current="page" :total="teacherlikedlist.total" :showLessItems="true" @change="pagechange"/>
<a-pagination v-if="!teacherlikedlist.total" v-model:current="page" :total="teacherlikedlist.total" :showLessItems="true" @change="pagechange"/>
</div>
</div>
</template>