修复前端邮箱输入

This commit is contained in:
xmdhs 2023-11-25 17:37:07 +08:00
parent 1931df4c7f
commit e49cd34122
No known key found for this signature in database
GPG Key ID: E809D6D43DEFCC95

View File

@ -67,7 +67,7 @@ export default function SendEmail({ title, anyEmail = false, sendService }: { ti
setHelperText("邮箱不得为空") setHelperText("邮箱不得为空")
} }
const sendEmail = (() => { const sendEmail = (() => {
if (domain != "") { if (!anyEmail && domain != "") {
return `${email}@${domain}` return `${email}@${domain}`
} }
return email return email