fix: 修改校验提示
This commit is contained in:
parent
323b341113
commit
8fd6cfba4f
|
@ -92,19 +92,22 @@
|
||||||
host: [
|
host: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: ''
|
message: this.$t('system_parameter_setting.host'),
|
||||||
|
trigger: ['change', 'blur']
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
port: [
|
port: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: ' '
|
message: this.$t('system_parameter_setting.port'),
|
||||||
|
trigger: ['change', 'blur']
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
account: [
|
account: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: ' '
|
message: this.$t('system_parameter_setting.account'),
|
||||||
|
trigger: ['change', 'blur']
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -627,6 +627,9 @@ export default {
|
||||||
SSL: 'Turn on SSL (if the SMTP port is 465, you usually need to enable SSL)',
|
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)',
|
TLS: 'Turn on TLS (if the SMTP port is 587, you usually need to enable TLS)',
|
||||||
SMTP: 'Anonymous SMTP or not',
|
SMTP: 'Anonymous SMTP or not',
|
||||||
|
host: 'Host number cannot be empty',
|
||||||
|
port: 'Port cannot be empty',
|
||||||
|
account: 'Account cannot be empty',
|
||||||
|
|
||||||
},
|
},
|
||||||
i18n: {
|
i18n: {
|
||||||
|
|
|
@ -626,6 +626,9 @@ export default {
|
||||||
SSL: '开启SSL(如果SMTP端口是465,通常需要启用SSL)',
|
SSL: '开启SSL(如果SMTP端口是465,通常需要启用SSL)',
|
||||||
TLS: '开启TLS(如果SMTP端口是587,通常需要启用TLS)',
|
TLS: '开启TLS(如果SMTP端口是587,通常需要启用TLS)',
|
||||||
SMTP: '是否匿名 SMTP',
|
SMTP: '是否匿名 SMTP',
|
||||||
|
host: '主机号不能为空',
|
||||||
|
port: '端口号不能为空',
|
||||||
|
account: '账户不能为空',
|
||||||
},
|
},
|
||||||
i18n: {
|
i18n: {
|
||||||
home: '首页'
|
home: '首页'
|
||||||
|
|
|
@ -626,6 +626,9 @@ export default {
|
||||||
SSL: '開啟SSL(如果SMTP埠是465,通常需要啟用SSL)',
|
SSL: '開啟SSL(如果SMTP埠是465,通常需要啟用SSL)',
|
||||||
TLS: '開啟TLS(如果SMTP埠是587,通常需要啟用TLS)',
|
TLS: '開啟TLS(如果SMTP埠是587,通常需要啟用TLS)',
|
||||||
SMTP: '是否匿名 SMTP',
|
SMTP: '是否匿名 SMTP',
|
||||||
|
host: '主機號不能為空',
|
||||||
|
port: '埠號不能為空',
|
||||||
|
account: '帳戶不能為空',
|
||||||
},
|
},
|
||||||
i18n: {
|
i18n: {
|
||||||
home: '首頁'
|
home: '首頁'
|
||||||
|
|
Loading…
Reference in New Issue