diff --git a/src/components/DataForm/index.vue b/src/components/DataForm/index.vue index 5fa604c86..3799b2f5f 100644 --- a/src/components/DataForm/index.vue +++ b/src/components/DataForm/index.vue @@ -4,7 +4,7 @@ :content="fields" :form="basicForm" label-position="right" - label-width="17%" + label-width="20%" v-bind="$attrs" v-on="$listeners" > diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index d14d8a7be..0d9cffb15 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -708,8 +708,7 @@ "emailTest": "测试连接", "emailUserSSL": "使用SSL", "emailUserTLS": "使用TLS", - "SecurityInsecureCommand": "危险命令告警", - "Insecure_Command_Alert": "危险命令告警", + "InsecureCommandAlert": "危险命令告警", "SecurityInsecureCommandEmailReceiver": "告警接收邮件", "MailSend": "邮件发送", "LDAPServerInfo": "LDAP 服务器", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 9a3423f21..9ae5d9637 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -704,6 +704,7 @@ "MailSend": "Mail send", "LDAPServerInfo": "LDAP Server", "LDAPUser": "LDAP User", + "InsecureCommandAlert": "Insecure command alert", "helpText": { "ApiKeyList": "The API key is used to sign the request header. The header of each request is different. Please refer to the usage documentation", "authLdapSearchFilter": "Choice may be (cn|uid|sAMAccountName)=%(user)s)", diff --git a/src/views/settings/Security.vue b/src/views/settings/Security.vue index da2d3b822..9d6b22321 100644 --- a/src/views/settings/Security.vue +++ b/src/views/settings/Security.vue @@ -43,7 +43,7 @@ export default { ] ], [ - this.$t('setting.Insecure_Command_Alert'), + this.$t('setting.InsecureCommandAlert'), [ 'SECURITY_INSECURE_COMMAND', 'SECURITY_INSECURE_COMMAND_EMAIL_RECEIVER' ]