瀏覽代碼

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')!);