Merge pull request #1060 from jumpserver/pr@dev@perF_setting

perf: 修改setting
This commit is contained in:
老广
2021-09-16 20:02:35 +08:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -45,6 +45,11 @@ export default {
],
successUrl: { name: 'Settings', params: { activeMenu: 'EmailContent' }},
fieldsMeta: {
LOGIN_CONFIRM_ENABLE: {
hidden: () => {
return !this.$store.getters.hasValidLicense
}
}
},
url: '/api/v1/settings/setting/?category=security'
}

View File

@@ -82,7 +82,10 @@ export default {
},
AuthLimit: {
label: this.$t('setting.AuthLimit'),
component: AuthLimit
component: AuthLimit,
hidden: () => {
return !this.$store.getters.hasValidLicense
}
}
},
url: '/api/v1/settings/setting/?category=security'