CN-1563 feat: 轨迹地图基础逻辑

This commit is contained in:
chenjinsong
2024-02-26 11:51:13 +08:00
parent d68ba693cc
commit 67e49540ec
12 changed files with 1172 additions and 34 deletions

View File

@@ -36,7 +36,24 @@ router.beforeEach(async (to, from, next) => {
path: '/',
name: 'home',
component: () => import('@/components/layout/Home'),
children: []
children: [
{
path: '/temp',
component: () => import('@/Temp')
},
{
path: '/temp2',
component: () => import('@/Temp2')
},
{
path: '/temp3',
component: () => import('@/Temp3')
},
{
path: '/temp4',
component: () => import('@/Temp4')
}
]
}
handleRoutes(menuList, homeRoute.children)
router.addRoute(homeRoute)
@@ -187,6 +204,9 @@ export function handleComponent (code) {
return () => import('@/views/system/Index')
case 'plugin':
return () => import('@/views/system/Plugin')
case 'locationMap':
case 'traceTracking':
return () => import('@/views/location/Index')
default:
return null
}