fix: set global table defaultPageSize to 20
Some checks failed
Deploy Admin Frontend / build-and-deploy (push) Failing after 6s

This commit is contained in:
wangdl 2026-06-19 15:15:55 +08:00
parent 57aac73eff
commit b0cfe2ed48

View File

@ -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="暂无数据" />}> <ConfigProvider locale={zhCN} renderEmpty={() => <Empty description="暂无数据" />} theme={{ components: { Table: { pagination: { defaultPageSize: 20 } as any } } }}>
<AuthProvider> <AuthProvider>
<BrowserRouter> <BrowserRouter>
<Suspense fallback={<PageLoading />}> <Suspense fallback={<PageLoading />}>