From 34c51e475d133038f0ec2c0d041e868a119a05af Mon Sep 17 00:00:00 2001 From: cdswyda Date: Wed, 8 Sep 2021 11:44:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(dataVerificationCtrl.js)=EF=BC=9A=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/dataVerificationCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/dataVerificationCtrl.js b/src/controllers/dataVerificationCtrl.js index afa97a5..b544a53 100644 --- a/src/controllers/dataVerificationCtrl.js +++ b/src/controllers/dataVerificationCtrl.js @@ -1452,7 +1452,7 @@ const dataVerificationCtrl = { return false; } - if(type2 == 'phone' && !/^[1][3,4,5,7,8][0-9]{9}$/.test(cellValue)){ + if(type2 == 'phone' && !/^1[3456789]\d{9}$/.test(cellValue)){ return false; } }