|
@@ -562,34 +562,37 @@ export const constantRoutes = [{
|
|
|
},
|
|
|
{
|
|
|
path: '/virtualDevices',
|
|
|
- component: () =>
|
|
|
- import('@/views/Platform/presentation/testa'),
|
|
|
+ component: () => import('@/views/Platform/presentation/testa'),
|
|
|
redirect: '/virtualDevices/HTvehicle',
|
|
|
name: '虚拟硬件',
|
|
|
meta: { title: '虚拟硬件' },
|
|
|
children: [{
|
|
|
path: 'HTvehicle',
|
|
|
name: '单车',
|
|
|
- component: () =>
|
|
|
- import('@/views/virtualDevices/HTvehicle'),
|
|
|
+ component: () => import('@/views/virtualDevices/HTvehicle'),
|
|
|
meta: { title: '单车' }
|
|
|
},
|
|
|
{
|
|
|
path: 'ebike',
|
|
|
name: '电单车',
|
|
|
- component: () =>
|
|
|
- import('@/views/virtualDevices/HMvehicle.vue'),
|
|
|
+ component: () => import('@/views/virtualDevices/HMvehicle.vue'),
|
|
|
meta: { title: '电单车' }
|
|
|
},
|
|
|
{
|
|
|
path: 'ebike/ebikeCreate',
|
|
|
name: '新增电单车',
|
|
|
hidden: true,
|
|
|
- component: () =>
|
|
|
- import('@/views/virtualDevices/HMvehicleCreate.vue'),
|
|
|
+ component: () => import('@/views/virtualDevices/HMvehicleCreate.vue'),
|
|
|
meta: { title: '新增电单车' }
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/newWeb',
|
|
|
+ component: () => import('@/views/newWeb/index'),
|
|
|
+ // redirect: '/newWeb/index',
|
|
|
+ name: '发布管理',
|
|
|
+ meta: { title: '发布管理' }
|
|
|
}
|
|
|
]
|
|
|
},
|