修改table分页

This commit is contained in:
陈红丽 2024-08-01 19:18:26 +08:00
parent 79d3f8b573
commit c353b10dc4
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@
:page-sizes="pagination.pageSizes" :page-sizes="pagination.pageSizes"
:page-size="pagination.pageSize" :page-size="pagination.pageSize"
:layout="pagination.layout" :layout="pagination.layout"
:background="pagination.background"
:total="pagination.total" :total="pagination.total"
@size-change="updatePageSize" @size-change="updatePageSize"
@current-change="updatePage" @current-change="updatePage"

View File

@ -15,7 +15,7 @@ export default {
//默认分页数量 //默认分页数量
defaultPageSize: 10, defaultPageSize: 10,
//可切换每页数量集合 //可切换每页数量集合
pageSizes: [10, 20, 30, 40, 50, 80], pageSizes: [10, 20, 50, 100,200],
}, },
upload: { upload: {
//考虑接口规范不同 //考虑接口规范不同