Commit 3af4ae2b authored by 田翔's avatar 田翔

feat: 支持配置分页选项配置

parent 7c909f20
{
"name": "panda-xform",
"version": "6.10.1",
"description": "6.10.1 文本框只读无数据时默认高度",
"version": "6.10.2",
"description": "6.10.2 支持配置分页选项配置",
"keywords": [
"panda-xform"
],
......
......@@ -64,6 +64,7 @@ const Account = (props, ref) => {
getDeleted,
accountId,
defaultType,
pageSizes,
} = props;
const userID = window?.globalConfig?.userInfo?.OID || 1;
let initParams = {
......@@ -634,6 +635,7 @@ const Account = (props, ref) => {
<div className={styles.pagination}>
<Pagination
showQuickJumper
pageSizeOptions={pageSizes ? pageSizes.split(',').map(v => Number(v)) : [10, 20, 50, 100]}
pageSize={params.pageSize}
current={params.pageIndex}
total={params.total}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment