refactor(web): 增加分页通用配置

This commit is contained in:
2023-06-14 15:21:01 +08:00
parent edbf54a519
commit 58487be66a
5 changed files with 28 additions and 66 deletions

View File

@@ -69,20 +69,10 @@ function tableTab() {
headerToolbar: [
"reload",
'filter-toggler',
{
type: 'pagination',
layout: ['pager', 'perPage'],
maxButtons: 5,
showPageInput: false,
},
paginationCommonOptions(),
],
footerToolbar: [
{
type: 'pagination',
layout: ['pager', 'perPage'],
maxButtons: 5,
showPageInput: false,
},
paginationCommonOptions(),
],
columns: [
{