fix: 超级用户角色标识superuser
This commit is contained in:
@@ -80,7 +80,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 下面是管理员角色才有
|
// 下面是指定角色才有
|
||||||
{
|
{
|
||||||
name: 'function',
|
name: 'function',
|
||||||
path: '/function',
|
path: '/function',
|
||||||
@@ -90,7 +90,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
i18nKey: 'route.function',
|
i18nKey: 'route.function',
|
||||||
icon: 'icon-park-outline:all-application',
|
icon: 'icon-park-outline:all-application',
|
||||||
order: 1002,
|
order: 1002,
|
||||||
roles: ['admin'],
|
roles: ['superuser'],
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@@ -208,7 +208,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
i18nKey: 'route.about',
|
i18nKey: 'route.about',
|
||||||
icon: 'fluent:book-information-24-regular',
|
icon: 'fluent:book-information-24-regular',
|
||||||
order: 1003,
|
order: 1003,
|
||||||
roles: ['admin']
|
roles: ['superuser']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user