Commit 0b21e781 authored by 罗超's avatar 罗超

1

parent c6e83f65
...@@ -73,6 +73,6 @@ export function compareObject(objA, objB,ignoreArray, endLoop) { ...@@ -73,6 +73,6 @@ export function compareObject(objA, objB,ignoreArray, endLoop) {
//验证11位的号码 //验证11位的号码
export function validateTel(tel) { export function validateTel(tel) {
const reg = /^1[3|4|5|7|8]\d{9}$/ const reg = /^1[3|4|5|6|7|8|9]\d{9}$/
return reg.test(tel) return reg.test(tel)
} }
\ 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