更新手机号段

This commit is contained in:
huangdeliang 2020-11-10 20:29:38 +08:00
parent 13f4b6068a
commit 16caf69649

View File

@ -124,7 +124,7 @@
}
const checkPhone = (rule, value, callback) => {
const phoneReg = /^1[3|4|5|7|8][0-9]{9}$/
const phoneReg = /^1[3|4|5|6|7|8|9][0-9]{9}$/
if (!value) {
return callback(new Error('电话号码不能为空'))
}