This commit is contained in:
雷欧(林平凡)
2025-09-19 18:35:07 +08:00
parent 391509b766
commit d68681faa0

View File

@@ -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',