Skip to content

Commit

Permalink
用户管理菜单异常修复
Browse files Browse the repository at this point in the history
  • Loading branch information
weiye committed Mar 24, 2020
1 parent d1e4881 commit e75f9d1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,19 @@ export const asyncRoutes = [
]
},
{
path: 'user',
name: 'user',
component: () => import('@/views/datax/user/index'),
meta: { title: '用户管理', icon: 'table', roles: ['ROLE_ADMIN'] }
path: '/datax/user',
component: Layout,
redirect: '/datax/user',
name: 'Example',
meta: { title: '用户管理', icon: 'work' },
children: [
{
path: 'user',
name: 'user',
component: () => import('@/views/datax/user/index'),
meta: { title: '用户管理', icon: 'table', roles: ['ROLE_ADMIN'] }
}
]
},
{
path: '/datax/registry',
Expand Down

0 comments on commit e75f9d1

Please sign in to comment.