fix(系统设置): 系统参数邮件设置指定发件人未校验邮箱格式

--bug=1035548 --user=王旭 【系统设置】系统-系统参数-邮件设置-指定发件人-未校验邮箱格式 https://www.tapd.cn/55049933/s/1462136
This commit is contained in:
WangXu10 2024-02-19 15:11:21 +08:00 committed by Craftsman
parent 775df5f572
commit 12071962b7
1 changed files with 4 additions and 1 deletions

View File

@ -167,7 +167,10 @@
allow-clear
/>
</a-form-item>
<a-form-item :label="t('system.config.email.from')" field="from" asterisk-position="end">
<a-form-item
:label="t('system.config.email.from')"
field="from" asterisk-position="end"
:rules="[emailRule]">
<a-input
v-model:model-value="emailConfigForm.from"
:max-length="255"