|
|
|
@ -2,6 +2,7 @@ import { Outlet, Link, useHref, NavLink } from 'react-router-dom'
|
|
|
|
|
import { useRef, useEffect, useState } from 'react'
|
|
|
|
|
import { Layout, Menu, ConfigProvider, theme, Empty, Row, Col, Dropdown, Space, Typography, Result, Select, App as AntApp } from 'antd'
|
|
|
|
|
import { DownOutlined } from "@ant-design/icons";
|
|
|
|
|
import ErrorBoundary from '@/components/ErrorBoundary';
|
|
|
|
|
import zhLocale from 'antd/locale/zh_CN';
|
|
|
|
|
import dayjs from 'dayjs';
|
|
|
|
|
import 'dayjs/locale/zh-cn';
|
|
|
|
@ -130,7 +131,9 @@ function App() {
|
|
|
|
|
renderEmpty={globalEmpty}
|
|
|
|
|
>
|
|
|
|
|
<AntApp>
|
|
|
|
|
<ErrorBoundary>
|
|
|
|
|
{renderLayout()}
|
|
|
|
|
</ErrorBoundary>
|
|
|
|
|
</AntApp>
|
|
|
|
|
</ConfigProvider>
|
|
|
|
|
)
|
|
|
|
|