-
+
({
SITE_TITLE: [
- { required: true, message: t('module.setting.message.form-rule.site-title.required'), trigger: 'blur' },
- { min: 3, max: 15, message: t('module.setting.message.form-rule.site-title.length'), trigger: 'blur' },
+ {
+ required: true,
+ message: t('module.setting.message.form-rule.site-title.required'),
+ trigger: 'blur',
+ },
+ {
+ min: 3,
+ max: 15,
+ message: t('module.setting.message.form-rule.site-title.length'),
+ trigger: 'blur',
+ },
],
MAIL_SMTP_HOST: [
- { required: true, message: t('module.setting.message.form-rule.mail-smtp-host.required'), trigger: 'blur' },
+ {
+ required: true,
+ message: t('module.setting.message.form-rule.mail-smtp-host.required'),
+ trigger: 'blur',
+ },
],
MAIL_SMTP_PORT: [
- { required: true, message: t('module.setting.message.form-rule.mail-smtp-port.required'), trigger: 'blur' },
+ {
+ required: true,
+ message: t('module.setting.message.form-rule.mail-smtp-port.required'),
+ trigger: 'blur',
+ },
],
MAIL_SMTP_ACCOUNT: [
- { required: true, message: t('module.setting.message.form-rule.mail-smtp-account.required'), trigger: 'blur' },
+ {
+ required: true,
+ message: t('module.setting.message.form-rule.mail-smtp-account.required'),
+ trigger: 'blur',
+ },
],
MAIL_SMTP_PASSWORD: [
- { required: true, message: t('module.setting.message.form-rule.mail-smtp-password.required'), trigger: 'blur' },
+ {
+ required: true,
+ message: t(
+ 'module.setting.message.form-rule.mail-smtp-password.required'
+ ),
+ trigger: 'blur',
+ },
],
MAIL_RECEIVE_ADDRESS: [
- { required: true, message: t('module.setting.message.form-rule.mail-receive-address.required'), trigger: 'blur' },
+ {
+ required: true,
+ message: t(
+ 'module.setting.message.form-rule.mail-receive-address.required'
+ ),
+ trigger: 'blur',
+ },
],
});
@@ -118,7 +151,10 @@ onMounted(getSettingFromServer);
/>
-
+
-
+
-
+
-
+
-
+
-
+
- {{t('module.setting.button.save')}}
+ {{
+ t('module.setting.button.save')
+ }}