Explorar o código

fix: dayjs国际化

xyh %!s(int64=2) %!d(string=hai) anos
pai
achega
8ca443e31e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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')!);