Browse Source

Merge branch 'iteration_210104' into online

lex-xin 4 years ago
parent
commit
fcaddc58c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/validate.js

+ 1 - 1
src/utils/validate.js

@@ -21,7 +21,7 @@ export function validUsername(str) {
 
 // 手机号验证
 export function isvalidPhone(str) {
-  const reg = /^1[3|4|5|7|8|9][0-9]\d{8}$/
+  const reg = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/
   return reg.test(str)
 }