1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 11:18:42 +08:00

fix[pagination]: fixed when selected page-sizes

This commit is contained in:
Pan 2017-12-25 15:49:13 +08:00 committed by 花裤衩
parent f3bfaa0f2b
commit 83e56488d8

View File

@ -78,7 +78,7 @@
</el-table-column>
</el-table>
<div v-show="!listLoading" class="pagination-container">
<div class="pagination-container">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="listQuery.page"
:page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" layout="total, sizes, prev, pager, next, jumper" :total="total">
</el-pagination>