Skip to content

Commit

Permalink
Merge branch 'dev' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Jun 14, 2024
2 parents c71c1ae + 8b598b8 commit 82a267c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/pages/Users/Register/components/SignUpForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ const Index: React.FC<Props> = ({ callback }) => {
} else if (name.value.length < 4 || name.value.length > 30) {
bol = false;
formData.name = {
value: '',
value: name.value,
isInvalid: true,
errorMsg: t('name.msg.range'),
};
} else if (!nameRegex.test(name.value)) {
bol = false;
formData.name = {
value: '',
value: name.value,
isInvalid: true,
errorMsg: t('name.msg.character'),
};
Expand Down

0 comments on commit 82a267c

Please sign in to comment.