mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-16 22:07:21 +00:00
feat: 应用授权详情按钮添加权限控制
This commit is contained in:
parent
78b72ec68a
commit
5cd3aea0a3
@ -33,7 +33,8 @@ export default {
|
|||||||
title: this.$t('common.Active'),
|
title: this.$t('common.Active'),
|
||||||
type: 'switcher',
|
type: 'switcher',
|
||||||
attrs: {
|
attrs: {
|
||||||
model: this.object.is_active
|
model: this.object.is_active,
|
||||||
|
disabled: !this.$hasPerm('perms.change_applicationpermission')
|
||||||
},
|
},
|
||||||
callbacks: {
|
callbacks: {
|
||||||
change: function(val) {
|
change: function(val) {
|
||||||
|
Loading…
Reference in New Issue
Block a user