每页暂时显示20条

szh_zidingyibiaoti
lilu 2 years ago
parent 8198d590dd
commit 1ea5acbefb

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

Loading…
Cancel
Save