fix: use ConfigProvider pagination prop for defaultPageSize
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 7s
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 7s
This commit is contained in:
parent
b0cfe2ed48
commit
209c0e9fb3
@ -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="暂无数据" />} theme={{ components: { Table: { pagination: { defaultPageSize: 20 } as any } } }}>
|
<ConfigProvider locale={zhCN} renderEmpty={() => <Empty description="暂无数据" />} pagination={{ defaultPageSize: 20 }}>
|
||||||
<AuthProvider>
|
<AuthProvider>
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<Suspense fallback={<PageLoading />}>
|
<Suspense fallback={<PageLoading />}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user