Explorar o código

Merge branch 'iteration_210104' into online

lex-xin %!s(int64=4) %!d(string=hai) anos
pai
achega
fcaddc58c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 }