mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 21:28:00 +08:00
Merge pull request #3782 from break60/1.3.3-release
[Improvement-3720][ui] js mailbox verification fix
This commit is contained in:
commit
801d7bd834
@ -37,7 +37,7 @@ const warningTypeList = [
|
||||
]
|
||||
|
||||
const isEmial = (val) => {
|
||||
let regEmail = /^([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/ // eslint-disable-line
|
||||
let regEmail = /^([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,}$/ // eslint-disable-line
|
||||
return regEmail.test(val)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user