perf: username length

pull/868/head
Ryan Wang 2023-02-21 12:01:00 +08:00
parent 22e79fa662
commit 66917785b6
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ const handleCreateUser = async () => {
name="name" name="name"
:validation="[ :validation="[
['required'], ['required'],
['length:0,50'], ['length:0,63'],
[ [
'matches', 'matches',
/^[a-z0-9]([-a-z0-9]*[a-z0-9])?(.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/, /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,