真实进度条+手机号校验
This commit is contained in:
@@ -251,7 +251,7 @@
|
||||
}
|
||||
|
||||
if (this.dataForm.tel) {
|
||||
if (/^1[34578]\d{9}$/.test(this.dataForm.tel) == false) {
|
||||
if (/^1[3456789]\d{9}$/.test(this.dataForm.tel) == false) {
|
||||
this.$message.error("手机格式错误!")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user