Blame view
src/router/modules/application.js
1.45 KB
fe44789e3 修改路由,新增页面 |
1 2 3 4 5 |
import Layout from '@/layout' const applicationRouter = { path: '/application', component: Layout, |
fedf6da38 menu修改 |
6 |
redirect: '/application', |
fe44789e3 修改路由,新增页面 |
7 |
alwaysShow: true, // will always show the root menu |
fedf6da38 menu修改 |
8 9 10 11 12 13 14 |
children: [ { path: 'appManage', name: 'appManage', component: () => import('@/views/application/appManage'), meta: { title: '应用管理', icon: 'component', roles: ['admin', 'assistant'] } |
fe44789e3 修改路由,新增页面 |
15 |
} |
d59b2d89e madd appManage page |
16 |
] |
fe44789e3 修改路由,新增页面 |
17 |
} |
fedf6da38 menu修改 |
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
// const applicationRouter = { // path: '/application', // component: Layout, // redirect: '/application', // 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', // component: () => import('@/views/application/appManage'), // 应用管理/添加 // name: 'appManage', // meta: { // title: '应用管理', // icon: 'component', // roles: ['admin', 'assistant'] // or you can only set roles in sub nav // } // }, // { // 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 修改路由,新增页面 |
51 |
export default applicationRouter |