mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 16:32:28 +00:00
perf: 修改 terminal 权限
This commit is contained in:
@@ -50,7 +50,9 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('xpack.ComponentMonitor'),
|
title: this.$t('xpack.ComponentMonitor'),
|
||||||
name: 'Monitor',
|
name: 'Monitor',
|
||||||
hidden: () => !this.$hasPerm('terminal.view_terminal')
|
hidden: () => {
|
||||||
|
return !this.$hasPerm('terminal.view_terminal') && this.$store.getters.hasValidLicense
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user