Commit 5b4eb932 authored by Bill's avatar Bill

Merge branch 'fix-bug' into 'v2-miju-srm'

fix: 修改手机验证 See merge request linkseeks-design/pro-platform!36
parents 0767c896 09a17f9c
const phoneRegExp = {
'86': /^1[345789]\d{9}$/, // 内地
'852': /^(5|6|8|9)\\d{7}$/, // 香港
'81': /0?[789](?:\d{8}|\d{9})$/, // 日本
'1': /[2-9]\d{2}[2-9](?!11)\d{6}$/, // 美国
'33': /[67]\d{8}$/, //'法国'
'+86': /^1[345789]\d{9}$/, // 内地
'+852': /^(5|6|8|9)\\d{7}$/, // 香港
'+81': /0?[789](?:\d{8}|\d{9})$/, // 日本
'+1': /[2-9]\d{2}[2-9](?!11)\d{6}$/, // 美国
'+33': /[67]\d{8}$/, //'法国'
}
export default phoneRegExp;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment