在动态路由中添加
{
path: '/produceOrder/orderDetails',
component: Layout,
hidden: true,
permissions: ['order:query'],
children: [
{
path: 'details/:id(\\d+)',
component: () => import('@/views/produceOrder/produceOrder/orderDetails'),
name: 'Details',
meta: { title: '详情', activeMenu: '/produceOrder/orderDetails' }
}
]
}
在views中创建对应的页面
进入后台系统,找到菜单管理,创建对应的页面