使用 ConfigProvider 包裹住英文组件,或者包裹根目录
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
<ConfigProvider locale={zhCN}>
<Pagination
total={85}
showSizeChanger
showQuickJumper
showTotal={(total) => `共 ${total} 条`}
/>
</ConfigProvider>
标签:分页,antd5,ConfigProvider,react,英文,import,antd
From: https://www.cnblogs.com/DL-CODER/p/17586182.html