diff --git a/client/src/pages/index.tsx b/client/src/pages/index.tsx index 8bdc2f4..22d8a21 100644 --- a/client/src/pages/index.tsx +++ b/client/src/pages/index.tsx @@ -1,4 +1,4 @@ -import { Tabs } from 'antd' +import { ConfigProvider, Tabs } from 'antd' import './index.less' import CustomerTask from './customer_task' import DataManage from './manage' @@ -6,6 +6,9 @@ import Helper from './helper' import Log from './log' import Login from './login' import { useState } from 'react' +import zhCN from 'antd/locale/zh_CN' +// for date-picker i18n +import 'dayjs/locale/zh-cn' const { TabPane } = Tabs @@ -17,30 +20,32 @@ export default function IndexPage() { } return ( -
- { - setCurrentTabKey(key) - }} - > - - - - - - - - - - - - - - - - -
+ +
+ { + setCurrentTabKey(key) + }} + > + + + + + + + + + + + + + + + + +
+
) }