|
|
|
|
@ -56,25 +56,39 @@ export const constantRoutes = [{
|
|
|
|
|
hidden: true
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
// path: '/',
|
|
|
|
|
// component: Layout,
|
|
|
|
|
// redirect: '/dashboard',
|
|
|
|
|
// children: [{
|
|
|
|
|
// path: 'dashboard',
|
|
|
|
|
// name: '系统首页',
|
|
|
|
|
// component: () => import('@/views/dashboard/index'),
|
|
|
|
|
// meta: {
|
|
|
|
|
// title: '系统首页',
|
|
|
|
|
// icon: 'dashboard'
|
|
|
|
|
// }
|
|
|
|
|
// }]
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: '/order',
|
|
|
|
|
// component: Layout,
|
|
|
|
|
// children: [{
|
|
|
|
|
// path: '',
|
|
|
|
|
// name: '订单管理',
|
|
|
|
|
// component: () => import('@/views/order/index'),
|
|
|
|
|
// meta: {
|
|
|
|
|
// title: '订单管理',
|
|
|
|
|
// icon: 'el-icon-s-order'
|
|
|
|
|
// }
|
|
|
|
|
// }]
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
path: '/',
|
|
|
|
|
component: Layout,
|
|
|
|
|
redirect: '/dashboard',
|
|
|
|
|
redirect: '/order',
|
|
|
|
|
children: [{
|
|
|
|
|
path: 'dashboard',
|
|
|
|
|
name: '系统首页',
|
|
|
|
|
component: () => import('@/views/dashboard/index'),
|
|
|
|
|
meta: {
|
|
|
|
|
title: '系统首页',
|
|
|
|
|
icon: 'dashboard'
|
|
|
|
|
}
|
|
|
|
|
}]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/order',
|
|
|
|
|
component: Layout,
|
|
|
|
|
children: [{
|
|
|
|
|
path: '',
|
|
|
|
|
path: 'order',
|
|
|
|
|
name: '订单管理',
|
|
|
|
|
component: () => import('@/views/order/index'),
|
|
|
|
|
meta: {
|
|
|
|
|
|