|
|
|
@ -37,7 +37,7 @@ let 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,3}$/ // eslint-disable-line
|
|
|
|
|
return regEmail.test(val) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|