perf: 修改setting

This commit is contained in:
ibuler
2021-09-16 20:01:38 +08:00
parent 274f50da95
commit ad118c5eda
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'