fix: use pageSize instead of defaultPageSize in ConfigProvider
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 10s

This commit is contained in:
wangdl 2026-06-19 15:18:28 +08:00
parent 209c0e9fb3
commit 4d093c2c26

View File

@ -63,7 +63,7 @@ const queryClient = new QueryClient()
function App() {
return (
<QueryClientProvider client={queryClient}>
<ConfigProvider locale={zhCN} renderEmpty={() => <Empty description="暂无数据" />} pagination={{ defaultPageSize: 20 }}>
<ConfigProvider locale={zhCN} renderEmpty={() => <Empty description="暂无数据" />} pagination={{ pageSize: 20, showSizeChanger: true, pageSizeOptions: ['10', '20', '50', '100'] }}>
<AuthProvider>
<BrowserRouter>
<Suspense fallback={<PageLoading />}>