Browse Source

fix: dayjs国际化

xyh 2 years ago
parent
commit
8ca443e31e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/app/src/index.tsx

+ 1 - 0
packages/app/src/index.tsx

@@ -9,6 +9,7 @@ import routes from '@routes';
 import {ConfigProvider, ThemeConfig, App} from 'antd';
 import {LDLoading} from '@components';
 import antdZh from 'antd/locale/zh_CN';
+import 'dayjs/locale/zh-cn';
 
 const root = createRoot(document.getElementById('root')!);