diff --git a/src/App.tsx b/src/App.tsx index 5487e81..f001b5e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,6 +10,9 @@ import { getConfigDataAPI } from '@/api/Project'; import { useWebStore } from './stores'; import { Web } from './types/app/project'; +import zhCN from 'antd/locale/zh_CN'; +import 'dayjs/locale/zh-cn'; + function App() { useAuthRedirect(); @@ -48,6 +51,7 @@ function App() { ) : ( // 根据主题切换配置主题