港澳手机规则

Merge pull request  from 德仔/develop
This commit is contained in:
德仔 2020-12-09 11:13:17 +08:00 committed by Gitee
commit 904ded044d

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