Blame view

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