1
This commit is contained in:
@@ -63,7 +63,7 @@ export const constantRoutes = [
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/user/profile'
|
||||
redirect: '/sloworder/index'
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
@@ -84,6 +84,22 @@ export const constantRoutes = [
|
||||
path: '/public/comment',
|
||||
component: () => import('@/views/public/CommentGenerator'),
|
||||
hidden: true
|
||||
},
|
||||
// 慢单管理(移到公共路由,无需权限)
|
||||
{
|
||||
path: '/sloworder',
|
||||
component: Layout,
|
||||
redirect: 'noredirect',
|
||||
name: 'SlowOrder',
|
||||
meta: { title: '下好的慢单', icon: 'list' },
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/system/jdorder/orderList'),
|
||||
name: 'SlowOrderIndex',
|
||||
meta: { title: '下好的慢单', icon: 'list' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -154,23 +170,6 @@ export const dynamicRoutes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
// 慢单管理
|
||||
{
|
||||
path: '/sloworder',
|
||||
component: Layout,
|
||||
redirect: 'noredirect',
|
||||
name: 'SlowOrder',
|
||||
meta: { title: '下好的慢单', icon: 'list' },
|
||||
permissions: ['jdorder:sloworder:list'],
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/system/jdorder/orderList'),
|
||||
name: 'SlowOrderIndex',
|
||||
meta: { title: '下好的慢单', icon: 'list' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 常用商品管理
|
||||
{
|
||||
path: '/favorite',
|
||||
|
||||
Reference in New Issue
Block a user