perf: 优化功能设置顺序

This commit is contained in:
feng 2023-08-17 16:18:58 +08:00
parent d836b46966
commit 4b137f855e

View File

@ -20,19 +20,10 @@ export default {
return {
activeMenu: 'Basic',
submenu: [
// {
// title: this.$t('common.Basic'),
// name: 'Basic'
// },
{
title: this.$t('setting.Announcement'),
name: 'Announcement'
},
{
title: this.$t('setting.AccountStorage'),
name: 'Vault',
hidden: !this.$hasPerm('settings.change_vault')
},
{
title: this.$t('setting.Ticket'),
name: 'Ticket'
@ -40,6 +31,11 @@ export default {
{
title: this.$t('setting.AppOps'),
name: 'Ops'
},
{
title: this.$t('setting.AccountStorage'),
name: 'Vault',
hidden: !this.$hasPerm('settings.change_vault')
}
]
}