mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-22 08:08:39 +00:00
fix: 创建用户字段显示隐藏问题
This commit is contained in:
@@ -76,12 +76,15 @@ export default {
|
||||
}
|
||||
},
|
||||
role: {
|
||||
label: this.$t('users.SuperRole')
|
||||
label: this.$t('users.SuperRole'),
|
||||
hidden: () => {
|
||||
return !this.currentOrgIsDefault
|
||||
}
|
||||
},
|
||||
org_role: {
|
||||
label: this.$t('users.OrgRole'),
|
||||
hidden: () => {
|
||||
return !this.publicSettings.XPACK_LICENSE_IS_VALID
|
||||
return (!this.publicSettings.XPACK_LICENSE_IS_VALID) || this.currentOrgIsDefault
|
||||
},
|
||||
el: {
|
||||
// disabled: () => this.currentOrgIsDefault
|
||||
|
Reference in New Issue
Block a user