|
|
@ -75,56 +75,56 @@ export const constantRoutes = [
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
path: '/nestRoutes',
|
|
|
|
// path: '/nestRoutes',
|
|
|
|
meta: {
|
|
|
|
// meta: {
|
|
|
|
title: '多级路由嵌套(缓存测试)',
|
|
|
|
// title: '多级路由嵌套(缓存测试)',
|
|
|
|
icon: 'form'
|
|
|
|
// icon: 'form'
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
component: Layout,
|
|
|
|
// component: Layout,
|
|
|
|
children: [
|
|
|
|
// children: [
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
path: '/nestRoutes/2',
|
|
|
|
// path: '/nestRoutes/2',
|
|
|
|
meta: {
|
|
|
|
// meta: {
|
|
|
|
title: '二级',
|
|
|
|
// title: '二级',
|
|
|
|
icon: 'form',
|
|
|
|
// icon: 'form',
|
|
|
|
showAlways: true
|
|
|
|
// showAlways: true
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
component: plainView,
|
|
|
|
// component: plainView,
|
|
|
|
children: [
|
|
|
|
// children: [
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
path: '/nestRoutes/2/3',
|
|
|
|
// path: '/nestRoutes/2/3',
|
|
|
|
meta: {
|
|
|
|
// meta: {
|
|
|
|
title: '三级',
|
|
|
|
// title: '三级',
|
|
|
|
icon: 'form',
|
|
|
|
// icon: 'form',
|
|
|
|
showAlways: true
|
|
|
|
// showAlways: true
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
component: plainView,
|
|
|
|
// component: plainView,
|
|
|
|
children: [
|
|
|
|
// children: [
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
path: `/nestRoutes/2/3/4/list`,
|
|
|
|
// path: `/nestRoutes/2/3/4/list`,
|
|
|
|
name: 'page-list',
|
|
|
|
// name: 'page-list',
|
|
|
|
meta: {
|
|
|
|
// meta: {
|
|
|
|
title: `四级表列表页`,
|
|
|
|
// title: `四级表列表页`,
|
|
|
|
icon: 'form'
|
|
|
|
// icon: 'form'
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
component: () => import('@/views/testCache/list')
|
|
|
|
// component: () => import('@/views/testCache/list')
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
path: '/nestRoutes/2/3/4/page-form',
|
|
|
|
// path: '/nestRoutes/2/3/4/page-form',
|
|
|
|
name: 'page-form',
|
|
|
|
// name: 'page-form',
|
|
|
|
meta: {
|
|
|
|
// meta: {
|
|
|
|
title: `四级表单页`,
|
|
|
|
// title: `四级表单页`,
|
|
|
|
icon: 'form'
|
|
|
|
// icon: 'form'
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
component: () => import('@/views/testCache')
|
|
|
|
// component: () => import('@/views/testCache')
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
]
|
|
|
|
// ]
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
]
|
|
|
|
// ]
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
]
|
|
|
|
// ]
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/user',
|
|
|
|
path: '/user',
|
|
|
|
component: Layout,
|
|
|
|
component: Layout,
|
|
|
|