feat: 分配角色
This commit is contained in:
@@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user