Commit 867daffc authored by wuhao's avatar wuhao 🎯

asder

parent ba2ea938
...@@ -627,8 +627,8 @@ let InitForm = ({ ...@@ -627,8 +627,8 @@ let InitForm = ({
}, },
item.name[0].indexOf("phone") != -1 item.name[0].indexOf("phone") != -1
? { ? {
pattern: /^\d{11}$/, pattern: /^(((\d{3,4}-)?[0-9]{7,8})|(1(3|4|5|6|7|8|9)\d{9}))$/,
message: "手机号格式不正确", message: item.title+"格式不正确",
} }
: item.name[0].indexOf("mail") != -1 : item.name[0].indexOf("mail") != -1
? { ? {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment