Commit 876f3491 authored by lixy's avatar lixy

路由

parent 7f0ec141
......@@ -77,17 +77,29 @@ export const constantRouterMap = [{
component: _import('error/401'),
hidden: true
},
{
{
path: '/',
component: Layout,
redirect: '/baseManager/userManager',
redirect: '/dashboard',
name: '首页',
hidden: true,
children: [{
path: 'userManager',
component: _import('admin/user/index')
path: 'dashboard',
component: _import('dashboard/index')
}]
},
},
// {
// path: '/',
// component: Layout,
// redirect: '/baseManager/userManager',
// name: '首页',
// hidden: true,
// children: [{
// path: 'userManager',
// component: _import('admin/user/index')
// }]
// },
{
path: '/introduction',
component: Layout,
......@@ -347,13 +359,13 @@ export const asyncRouterMap = [{
component: _import('vehicle/vehicleSchedulManage/vehicleRecords'),
name: '车辆排班记录',
authority: 'vehicleRecords'
},
{
path: 'dispatchApply',
component: _import('vehicle/dispatchApply/index'),
name: '调度申请管理',
authority: 'dispatchApply'
}
// {
// path: 'dispatchApply',
// component: _import('vehicle/dispatchApply/index'),
// name: '调度申请管理',
// authority: 'dispatchApply'
// }
]
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment