mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 08:12:33 +00:00
Merge pull request #3245 from jumpserver/pr@dev@perf_route_user_roles
perf: 点击角色列表组织默认切换到全局组织,在角色列表不能点击切换组织
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import i18n from '@/i18n/i18n'
|
||||
import empty from '@/layout/empty'
|
||||
|
||||
const globalSubmenu = () => import('@/layout/globalOrg.vue')
|
||||
|
||||
export default [
|
||||
{
|
||||
path: 'users',
|
||||
@@ -89,11 +91,12 @@ export default [
|
||||
},
|
||||
{
|
||||
path: 'roles',
|
||||
component: empty,
|
||||
component: globalSubmenu,
|
||||
redirect: '',
|
||||
meta: {
|
||||
permissions: ['rbac.view_orgrole | rbac.view_systemrole'],
|
||||
app: 'rbac',
|
||||
disableOrgsChange: true,
|
||||
licenseRequired: true
|
||||
},
|
||||
children: [
|
||||
|
Reference in New Issue
Block a user