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