feat: 实现统一日志系统和维护模式功能

This commit is contained in:
zhang1106
2026-04-28 10:57:17 +08:00
parent 763e425f78
commit bf2cd221b9
43 changed files with 1966 additions and 430 deletions
+2
View File
@@ -54,6 +54,7 @@ import { SWRConfig, swrConfig } from './hooks/useSWR';
import axios from 'axios';
import { Spin } from 'antd';
import ErrorBoundary from './components/ErrorBoundary';
import MaintenanceBanner from './components/MaintenanceBanner';
const Dashboard = lazy(() => import('./pages/Dashboard'));
const DeviceManagement = lazy(() => import('./pages/DeviceManagement'));
@@ -644,6 +645,7 @@ const ThemeConfig = () => {
<AntdConfigProvider theme={{ token: designTokens }}>
<SWRConfig value={swrConfig}>
<Router>
<MaintenanceBanner />
<Suspense fallback={<PageLoading />}>
<Routes>
<Route