소스 검색

fix: dayjs国际化

xyh 2 년 전
부모
커밋
8ca443e31e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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')!);