Blame view
src/router/modules/logistics.js
670 Bytes
fe44789e3 修改路由,新增页面 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import Layout from '@/layout' const logisticsRouter = { path: '/logistics', component: Layout, redirect: '/logistics/page', alwaysShow: true, // will always show the root menu name: 'logistics', meta: { title: '物流', icon: 'tree-table', roles: ['admin', 'assistant'] // you can set roles in root nav }, children: [{ path: 'logisticspage', component: () => import('@/views/logistics/logistics'), name: 'logistics', meta: { title: '物流管理', icon: 'tree-table', roles: ['admin', 'assistant'] // or you can only set roles in sub nav } }] } export default logisticsRouter |