🐛 用户主页文章分页问题修复

This commit is contained in:
x ronger 2020-10-18 17:53:44 +08:00
parent fbbb6addef
commit 2b5d49d697

View File

@ -41,8 +41,9 @@
</el-col>
<el-col>
<div class="vertical-container text-center">
<el-pagination v-show="articles.pagination.total > 10" v-model="articles.pagination"
<el-pagination v-show="articles.pagination.total > articles.pagination.pageSize" v-model="articles.pagination"
layout="prev, pager, next"
:page-size="articles.pagination.pageSize"
:current-page="articles.pagination.currentPage"
:total="articles.pagination.total"
@current-change="currentChange">