Commit 33217157 authored by wuhao's avatar wuhao 🎯

asder

parent 23326c84
......@@ -400,7 +400,7 @@ const Login = () => {
message: "请输入联系电话!",
},
{
pattern: /^1\d{10}$/,
pattern: /^(((\d{3,4}-)?[0-9]{7,8})|(1(3|4|5|6|7|8|9)\d{9}))$/,
message: "手机号格式错误!",
},
]}
......
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