From 6bbf1006d1b906a00ddfbcfc889774834327e7f1 Mon Sep 17 00:00:00 2001 From: 383514580 <383514580@qq.com> Date: Wed, 26 Jun 2019 17:47:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RULES.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RULES.js b/src/RULES.js index d289e97..118d783 100644 --- a/src/RULES.js +++ b/src/RULES.js @@ -1,6 +1,6 @@ export default [{ title: '手机号', - rule: /^(1[345789]\d{9})$/, + rule: /^(1(3[\d]|4[5|6|9]|5[0|1|2|3|5|6|7|8|9]|6[5|7]|7[0|1|2|3|4|5|6|7|8]||8[1|2|3|5|6|7|8]|9[1|8|9])\d{8})$/, }, { title: '大写字母', rule: /^[A-Z]+$/,