mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 08:12:33 +00:00
perf: 修改 terminal 权限
This commit is contained in:
@@ -50,7 +50,9 @@ export default {
|
||||
{
|
||||
title: this.$t('xpack.ComponentMonitor'),
|
||||
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