This commit is contained in:
faiz 2024-05-24 10:05:34 +08:00
parent 4378b6ecd7
commit ac12a15a86
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ import userCreate from './userCreate'
import couponList from './couponList'
import createWorkBook from '@/utils/newToExcel.js'
const checkMobile = (rule, value, cb) => {
const regMobile = /^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/;
const regMobile = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
if (regMobile.test(value)) {
//
return cb();