perf: search prompt, upload step and psw len

This commit is contained in:
archer
2023-08-10 11:49:32 +08:00
parent 9ea19b8eaa
commit 63c832d883
14 changed files with 113 additions and 58 deletions

View File

@@ -97,8 +97,8 @@ const LoginForm = ({ setPageType, loginSuccess }: Props) => {
{...register('password', {
required: '密码不能为空',
maxLength: {
value: 12,
message: '密码最多12位'
value: 20,
message: '密码最多 20 位'
}
})}
></Input>