feat: 分配角色

This commit is contained in:
dap
2024-09-25 15:13:37 +08:00
parent 1c8c1848be
commit a318e8791e
4 changed files with 96 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ const profileRoute: RouteRecordStringComponent[] = [
},
],
},
// TODO: 图标要改
{
component: 'BasicLayout',
meta: {
@@ -81,6 +82,30 @@ const profileRoute: RouteRecordStringComponent[] = [
},
],
},
{
component: 'BasicLayout',
meta: {
hideChildrenInMenu: true,
hideInMenu: true,
title: '分配角色',
},
name: 'RoleAssign',
path: '/',
redirect: '/system/role-assign',
children: [
{
component: '/system/role-assign/index',
meta: {
activePath: '/tool/gen',
icon: 'mingcute:profile-line',
keepAlive: true,
title: '分配角色',
},
name: 'RoleAssignIndex',
path: '/system/role-assign/:roleId',
},
],
},
];
/**