fix: use pageSize instead of defaultPageSize in ConfigProvider
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 10s
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 10s
This commit is contained in:
parent
209c0e9fb3
commit
4d093c2c26
@ -63,7 +63,7 @@ const queryClient = new QueryClient()
|
|||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<QueryClientProvider client={queryClient}>
|
<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>
|
<AuthProvider>
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<Suspense fallback={<PageLoading />}>
|
<Suspense fallback={<PageLoading />}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user