Commit 91fab5d1 authored by 智勇's avatar 智勇

首页

parent 1f5e5949
......@@ -64,26 +64,26 @@ export const constantRouterMap = [
component: () => import('@/views/errorPage/401'),
hidden: true
},
// {
// path: '/dashboard',
// component: Layout,
// redirect: 'dashboard',
// children: [
// {
// path: '/dashboard',
// component: () => import('@/views/dashboard/index'),
// name: 'Dashboard',
// meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true }
// }
// ]
// },
{
path: '',
component: Layout,
redirect: 'dashboard',
redirect: 'indexlist',
children: [
{
path: 'dashboard',
component: () => import('@/views/dashboard/index'),
name: 'Dashboard',
meta: { title: 'dashboard', icon: 'dashboard', noCache: true, affix: true }
}
]
},
{
path: '/indexList',
component: Layout,
redirect: 'noredirect',
children: [
{
path: '',
path: '/indexlist',
component: () => import('@/views/index/index'),
name: 'indexList',
meta: { title: 'indexList', icon: 'link' }
......
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