校验正则修正
This commit is contained in:
parent
e3abad3f46
commit
8e02184750
|
|
@ -251,7 +251,7 @@ function Register(props){
|
|||
message: "用户名只能使用英文字母和数字"
|
||||
},
|
||||
{
|
||||
pattern: /^\s*$/,
|
||||
pattern: /^[^\s]*$/,
|
||||
message: "用户名不能包含空格"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue