Blame view
src/router/modules/application.js
983 Bytes
fe44789e3 修改路由,新增页面 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import Layout from '@/layout' const applicationRouter = { path: '/application', component: Layout, redirect: '/application/page', alwaysShow: true, // will always show the root menu name: 'Application', meta: { title: '应用', icon: 'component', roles: ['admin', 'assistant'] // you can set roles in root nav }, children: [{ path: 'appManage', |
d59b2d89e madd appManage page |
16 |
component: () => import('@/views/application/appManage'), // 应用管理/添加 |
fe44789e3 修改路由,新增页面 |
17 18 19 20 21 22 |
name: 'appManage', meta: { title: '应用管理', icon: 'component', roles: ['admin', 'assistant'] // or you can only set roles in sub nav } |
d59b2d89e madd appManage page |
23 24 25 26 27 28 29 30 31 32 33 34 |
}, { path: 'appList', component: () => import('@/views/application/appList'), // 应用列表 name: 'appList', meta: { title: '应用列表', icon: 'list', roles: ['admin', 'assistant'] // or you can only set roles in sub nav } } ] |
fe44789e3 修改路由,新增页面 |
35 36 |
} export default applicationRouter |