From 71578a8d5617660421b39383546500482448ca19 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Tue, 10 Sep 2024 18:34:45 +0800 Subject: [PATCH] 小程序修改 --- gz-customerSystem/src/utils/utility.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gz-customerSystem/src/utils/utility.js b/gz-customerSystem/src/utils/utility.js index ad223f4..8eebc56 100644 --- a/gz-customerSystem/src/utils/utility.js +++ b/gz-customerSystem/src/utils/utility.js @@ -165,6 +165,8 @@ return info({ type: 'success', content }); } + + // 手机号码正则 export const mobileRegExp = new RegExp('^1([0-9][0-9]|[0-9][0-9]|[0-9][0-9]|[0-9][0-9]|[0-9][0-9])\\d{8}$', 'g'); -- Gitblit v1.8.0