mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 23:59:02 +00:00
perf: 优化功能设置顺序
This commit is contained in:
@@ -20,19 +20,10 @@ export default {
|
|||||||
return {
|
return {
|
||||||
activeMenu: 'Basic',
|
activeMenu: 'Basic',
|
||||||
submenu: [
|
submenu: [
|
||||||
// {
|
|
||||||
// title: this.$t('common.Basic'),
|
|
||||||
// name: 'Basic'
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
title: this.$t('setting.Announcement'),
|
title: this.$t('setting.Announcement'),
|
||||||
name: 'Announcement'
|
name: 'Announcement'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: this.$t('setting.AccountStorage'),
|
|
||||||
name: 'Vault',
|
|
||||||
hidden: !this.$hasPerm('settings.change_vault')
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: this.$t('setting.Ticket'),
|
title: this.$t('setting.Ticket'),
|
||||||
name: 'Ticket'
|
name: 'Ticket'
|
||||||
@@ -40,6 +31,11 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('setting.AppOps'),
|
title: this.$t('setting.AppOps'),
|
||||||
name: 'Ops'
|
name: 'Ops'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('setting.AccountStorage'),
|
||||||
|
name: 'Vault',
|
||||||
|
hidden: !this.$hasPerm('settings.change_vault')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user