From c31652d1a39f8829d13618ec3fcac7d4186500b5 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 20 Sep 2023 22:48:26 +0800 Subject: [PATCH] refactor: update ListTable sizeOptions --- packages/tushan/client/components/list/ListTable.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tushan/client/components/list/ListTable.tsx b/packages/tushan/client/components/list/ListTable.tsx index 2dd7489..b8f53e0 100644 --- a/packages/tushan/client/components/list/ListTable.tsx +++ b/packages/tushan/client/components/list/ListTable.tsx @@ -198,6 +198,7 @@ export const ListTable: React.FC = React.memo((props) => { pageSize, showTotal: props.showTotal ?? true, sizeCanChange: props.showSizeChanger ?? false, + sizeOptions: [10, 20, 50, 100], onChange: (pageNum, pageSize) => { setPageNum(pageNum); setPageSize(pageSize);