fix: update username check

This commit is contained in:
thehrz 2025-02-05 18:38:48 +08:00
parent 0b880bece8
commit 1ed8b88494
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -165,8 +165,8 @@ export default function SignUp() {
}}
checkList={[
{
errMsg: "长度在 3-16 之间",
reg: /^.{3,16}$/
errMsg: "长度在 3-16 之间由数字、大小写字母、_构成",
reg: /[0-9a-zA-Z_]{3,16}/
}
]}
required