通讯录
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
if (!value) {
|
||||
return callback(new Error('请输入电话'))
|
||||
} else {
|
||||
const reg = /^[0-9]*$/
|
||||
const reg = /^[0-9]{3,11}$/
|
||||
if (reg.test(value)) {
|
||||
callback()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user