Explorar el Código

bug-3706 更新手机号校验规则

cfort hace 1 año
padre
commit
7cde7d91bd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/platform/org/employee/edit/index.vue

+ 1 - 1
src/views/platform/org/employee/edit/index.vue

@@ -270,7 +270,7 @@ export default {
             this.qrcodeVisible = true
         },
         checkPhone (value) {
-            const reg = /^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|(147))\d{8}$/
+            const reg = /^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|192|198|199|(147))\d{8}$/
             if (!reg.test(value)) {
                 return false
             }