【优化】自定分页大小, 首次加载显示正常, 当输入条件点击查询之后, 分页大小又恢复成默认的

This commit is contained in:
15894237752
2023-12-07 00:09:21 +08:00
committed by 小诺
parent 143ac81839
commit c596eb9469

View File

@@ -201,6 +201,7 @@
current: r.current, // pageNo, // 返回结果中的当前分页数
total: r.total, // totalRows, // 返回结果中的总记录数
showSizeChanger: this.showSizeChanger,
pageSizeOptions: this.pageSizeOptions,
showTotal: (total, range) => {
return `${range[0]}-${range[1]}${total}`
},