每页暂时显示20条

szh_zidingyibiaoti
lilu 2 years ago
parent 8198d590dd
commit 1ea5acbefb

@ -111,7 +111,6 @@
v-bind="gridOptions"
row-class-name="line-box"
:height="tableHeight"
:scroll-y="{enabled: true}"
@page-change="handlePageChange"
@cell-dblclick="handledbclick"
@resizable-change="resizableChange"
@ -615,13 +614,14 @@ export default {
round: true,
autoResize: true,
align: 'left',
scrollY: { enabled: true },
columnConfig: { resizable: true },
importConfig: {},
exportConfig: {},
pagerConfig: {
total: 0,
currentPage: 1,
pageSize: 50,
pageSize: 20,
pageSizes: [10, 20, 50, 100, 200, 500]
},
columns: JSON.parse(JSON.stringify(initData.columns)),

Loading…
Cancel
Save