This commit is contained in:
@ -120,7 +120,7 @@ export const constantRoutes = [
|
||||
*/
|
||||
export const asyncRoutes = [
|
||||
{
|
||||
path: '/find',
|
||||
path: '/', // find
|
||||
component: Layout,
|
||||
alwaysShow: false,
|
||||
children: [
|
||||
@ -137,7 +137,7 @@ export const asyncRoutes = [
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
path: '/dashboard',
|
||||
component: Layout,
|
||||
redirect: '/dashboard',
|
||||
children: [
|
||||
@ -161,6 +161,41 @@ export const asyncRoutes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/incentives',
|
||||
component: Layout,
|
||||
redirect: '/example/list',
|
||||
name: 'Example Articles',
|
||||
meta: {
|
||||
title: 'Incentives',
|
||||
icon: 'example'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'create',
|
||||
component: () => import('@/views/incentives/create'),
|
||||
name: 'CreateIncentive',
|
||||
meta: { title: 'Incentive anlegen', icon: 'edit' }
|
||||
},
|
||||
{
|
||||
path: 'list',
|
||||
component: () => import('@/views/incentives/list'),
|
||||
name: 'IncentiveList',
|
||||
meta: { title: 'Incentive Liste', icon: 'list' }
|
||||
},
|
||||
{
|
||||
path: 'edit/:id(\\d+)',
|
||||
component: () => import('@/views/incentives/edit'),
|
||||
name: 'EditIncentive',
|
||||
meta: {
|
||||
title: 'Incentive bearbeiten',
|
||||
noCache: true,
|
||||
activeMenu: '/example/list'
|
||||
},
|
||||
hidden: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/permission',
|
||||
component: Layout,
|
||||
|
Reference in New Issue
Block a user