视频监控初步

This commit is contained in:
mmc
2026-05-06 17:17:36 +08:00
parent de1998a9a8
commit a7026ad690
3 changed files with 343 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import React, { lazy, Suspense } from 'react';
import { createBrowserRouter } from 'react-router-dom';
import type { RouteObject } from 'react-router-dom';
import VideoMonitorPage from '../pages/VideoMonitorPage';
const Layout = lazy(() => import('../components/Layout'));
const ProtectedRoute = lazy(() => import('../components/ProtectedRoute'));
@@ -79,7 +80,7 @@ const routes: RouteObject[] = [
{ path: 'overview', element: <Home /> },
{ path: 'devices', element: <Devices /> },
{ path: 'video', element: <Video /> },
{ path: 'monitor', element: <Video /> },
{ path: 'monitor', element: <VideoMonitorPage /> },
{ path: 'alerts', element: <Alerts /> },
{ path: 'AIanalysis', element: <div>AI诊断分析</div> },
{ path: 'clean', element: <div>清洗优化</div> },