edit
This commit is contained in:
parent
4378b6ecd7
commit
ac12a15a86
|
@ -362,7 +362,7 @@ import userCreate from './userCreate'
|
||||||
import couponList from './couponList'
|
import couponList from './couponList'
|
||||||
import createWorkBook from '@/utils/newToExcel.js'
|
import createWorkBook from '@/utils/newToExcel.js'
|
||||||
const checkMobile = (rule, value, cb) => {
|
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)) {
|
if (regMobile.test(value)) {
|
||||||
// 合法的手机号码
|
// 合法的手机号码
|
||||||
return cb();
|
return cb();
|
||||||
|
|
Loading…
Reference in New Issue