From da5a3ddacb952101493942960c77a79e7e7a2e0b Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Mon, 10 Oct 2022 12:07:20 +0800 Subject: [PATCH] docs: fix site locale (#37911) --- site/theme/template/Layout/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/theme/template/Layout/index.tsx b/site/theme/template/Layout/index.tsx index 794e287d3b..5afd43819d 100644 --- a/site/theme/template/Layout/index.tsx +++ b/site/theme/template/Layout/index.tsx @@ -10,6 +10,7 @@ import { setTwoToneColor } from '@ant-design/icons'; import { Helmet, HelmetProvider } from 'react-helmet-async'; import { ConfigProvider } from 'antd'; import { browserHistory } from 'bisheng/router'; +import zhCN from 'antd/lib/locale/zh_CN'; import type { DirectionType } from 'antd/es/config-provider'; import Header from './Header'; import type { SiteContextProps } from './SiteContext'; @@ -255,7 +256,7 @@ export default class Layout extends React.Component