ota管理界面
This commit is contained in:
@@ -40,6 +40,7 @@ const DeviceManagementPage = lazy(() => import('../components/SystemSetting/Devi
|
||||
const SystemMaintenancePage = lazy(() => import('../components/SystemSetting/SystemMaintain'));
|
||||
const LogManagement = lazy(() => import('../components/SystemSetting/LogManagement'));
|
||||
const VideoManagement = lazy(() => import('../components/SystemSetting/VideoManagement'));
|
||||
const OTAManagementPage = lazy(() => import('../components/SystemSetting/OTAManagement'));
|
||||
|
||||
// 加载中动画
|
||||
export function PageFallback() {
|
||||
@@ -174,6 +175,7 @@ export const routes: RouteObject[] = [
|
||||
{ path: 'devices', element: withSuspense(DeviceManagementPage) },
|
||||
{ path: 'log', element: withSuspense(LogManagement) },
|
||||
{ path: 'videoManage', element: withSuspense(VideoManagement) },
|
||||
{ path: 'ota', element: withSuspense(OTAManagementPage) },
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user