用户管理新增分配角色功能

This commit is contained in:
RuoYi
2021-07-01 18:01:36 +08:00
parent 04f5a93aa8
commit 9c7901f526
10 changed files with 306 additions and 16 deletions

View File

@ -80,6 +80,19 @@ export const constantRoutes = [
}
]
},
{
path: '/auth',
component: Layout,
hidden: true,
children: [
{
path: 'role/:userId(\\d+)',
component: (resolve) => require(['@/views/system/user/authRole'], resolve),
name: 'AuthRole',
meta: { title: '分配角色'}
}
]
},
{
path: '/dict',
component: Layout,