From 9df0370ab65a1b48cc99382a60bc7d1b54ceea04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E9=98=B3?= Date: Sat, 11 Jan 2025 20:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=89=E5=8C=96antd=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 4 ++++ 1 file changed, 4 insertions(+) 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() { ) : ( // 根据主题切换配置主题