mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 14:34:46 +00:00
fix: 修改组件监控权限控制
This commit is contained in:
committed by
Jiangjie.Bai
parent
0f4cb3b916
commit
b63d187f13
@@ -51,7 +51,7 @@ export default {
|
||||
title: this.$t('xpack.ComponentMonitor'),
|
||||
name: 'Monitor',
|
||||
hidden: () => {
|
||||
return !(this.$hasPerm('terminal.view_terminal') && this.$store.getters.hasValidLicense)
|
||||
return !(this.$hasPerm('terminal.view_status') && this.$store.getters.hasValidLicense)
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user