-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
/**
* name 值唯一
* alwaysShow: true 菜单栏默认显示
* anonymousAuthorize: true 允许匿名访问
*/
export const constantRouterMap = [
{
path: '/redirect',
component: Layout,
hide: true,
children: [
{
path: '/redirect/:path*',
component: () => import('@/views/redirect/index')
}
]
},
{
path: '/login',
name: 'login',
hide: true,
component: () => import('@/views/login/index'),
meta: { name: 'login', anonymousAuthorize: true }
},
{
path: '/auth-redirect',
component: () => import('@/views/login/authredirect'),
meta: { title: 'auth-redirect', anonymousAuthorize: true }
},
{
path: '/404',
name: '404',
hide: true,
component: () => import('@/views/errorPage/404'),
meta: { title: '404', anonymousAuthorize: true }
},
{
path: '/401',
name: '401',
hide: true,
component: () => import('@/views/errorPage/401'),
meta: { title: '401', anonymousAuthorize: true }
},
{
path: '',
component: Layout,
redirect: 'dashboard',
children: [
{
path: 'dashboard',
component: () => import('@/views/dashboard/index'),
name: 'dashboard',
alwaysShow: true,
meta: { title: 'dashboard', icon: 'dashboard' }
}
]
},
taskRouter,
modelerRouter,
idmRouter,
{
path: '*',
redirect: '/404',
hide: true
}
]
Metadata
Metadata
Assignees
Labels
No labels


