AI诊断中心
This commit is contained in:
@@ -2,6 +2,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';
|
||||
import AIDiagnosisPage from '../pages/AIAnalysis';
|
||||
|
||||
const Layout = lazy(() => import('../components/Layout'));
|
||||
const ProtectedRoute = lazy(() => import('../components/ProtectedRoute'));
|
||||
@@ -82,7 +83,9 @@ const routes: RouteObject[] = [
|
||||
{ path: 'video', element: <Video /> },
|
||||
{ path: 'monitor', element: <VideoMonitorPage /> },
|
||||
{ path: 'alerts', element: <Alerts /> },
|
||||
{ path: 'AIanalysis', element: <div>AI诊断分析</div> },
|
||||
{
|
||||
path: 'AIanalysis', element: <AIDiagnosisPage />
|
||||
},
|
||||
{ path: 'clean', element: <div>清洗优化</div> },
|
||||
{ path: 'task', element: <div>工单任务</div> },
|
||||
{ path: 'table', element: <div>报表中心</div> },
|
||||
|
||||
Reference in New Issue
Block a user