真实进度条+手机号校验

This commit is contained in:
2024-03-14 13:04:07 +08:00
parent e9e5edb52f
commit d38bb5f604
5 changed files with 2244 additions and 286 deletions

View File

@@ -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
}