|
|
@ -37,7 +37,7 @@ const warningTypeList = [ |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
const isEmial = (val) => { |
|
|
|
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) |
|
|
|
return regEmail.test(val) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|