fix: 修改校验提示

This commit is contained in:
wenyann 2020-07-16 11:19:19 +08:00
parent 323b341113
commit 8fd6cfba4f
4 changed files with 15 additions and 3 deletions

View File

@ -92,19 +92,22 @@
host: [
{
required: true,
message: ''
message: this.$t('system_parameter_setting.host'),
trigger: ['change', 'blur']
},
],
port: [
{
required: true,
message: ' '
message: this.$t('system_parameter_setting.port'),
trigger: ['change', 'blur']
}
],
account: [
{
required: true,
message: ' '
message: this.$t('system_parameter_setting.account'),
trigger: ['change', 'blur']
}]
}
}

View File

@ -627,6 +627,9 @@ export default {
SSL: 'Turn on SSL (if the SMTP port is 465, you usually need to enable SSL)',
TLS: 'Turn on TLS (if the SMTP port is 587, you usually need to enable TLS)',
SMTP: 'Anonymous SMTP or not',
host: 'Host number cannot be empty',
port: 'Port cannot be empty',
account: 'Account cannot be empty',
},
i18n: {

View File

@ -626,6 +626,9 @@ export default {
SSL: '开启SSL(如果SMTP端口是465通常需要启用SSL)',
TLS: '开启TLS(如果SMTP端口是587通常需要启用TLS)',
SMTP: '是否匿名 SMTP',
host: '主机号不能为空',
port: '端口号不能为空',
account: '账户不能为空',
},
i18n: {
home: '首页'

View File

@ -626,6 +626,9 @@ export default {
SSL: '開啟SSL如果SMTP埠是465通常需要啟用SSL',
TLS: '開啟TLS如果SMTP埠是587通常需要啟用TLS',
SMTP: '是否匿名 SMTP',
host: '主機號不能為空',
port: '埠號不能為空',
account: '帳戶不能為空',
},
i18n: {
home: '首頁'