地图编辑 增加障碍物 障碍物支持修改半径 返航 分区 障碍物 支持修改名称
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { lazy, Suspense } from 'react';
|
||||
import React, { lazy, Suspense } from 'react';
|
||||
import type { RouteObject } from 'react-router-dom';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
@@ -32,6 +32,7 @@ const WayLineTask = lazy(() => import('../components/devices/WayLinePage'));
|
||||
const RobotTask = lazy(() => import('../components/devices/RobotTaskPage'));
|
||||
const MapEditorPage = lazy(() => import('../components/devices/MapEditorPage'));
|
||||
const DevicesOverview = lazy(() => import('../components/devices/DeviceOverviewPage'));
|
||||
const TaskMonitorPage = lazy(() => import('../pages/TaskMonitorPage'));
|
||||
|
||||
const BasicSettings = lazy(() => import('../components/SystemSetting/BasicSettings'));
|
||||
const UserRolePage = lazy(() => import('../components/SystemSetting/UserPage'));
|
||||
@@ -113,6 +114,10 @@ export const routes: RouteObject[] = [
|
||||
path: 'devices/overview',
|
||||
element: withSuspense(DevicesOverview)
|
||||
},
|
||||
{
|
||||
path: 'devices/taskMonitor',
|
||||
element: withSuspense(TaskMonitorPage)
|
||||
},
|
||||
{
|
||||
path: 'devices/status',
|
||||
element: withSuspense(DeviceStatus)
|
||||
|
||||
Reference in New Issue
Block a user