修改订单问题

This commit is contained in:
liuyuan
2025-07-01 16:34:25 +08:00
parent e0556ef0fd
commit c7bab5afb4
12 changed files with 1065 additions and 743 deletions

View File

@@ -222,7 +222,7 @@
validateFunction: (rule, value, data, callback) => {
// 异步需要返回 Promise 对象
return new Promise((resolve, reject) => {
if (!this.$base.phoneRegular.test(value)) {
if (!/^\d{5,15}$/.test(value)) {
reject(new Error("手机号格式不正确"));
} else {
resolve();