fix: update username check
Some checks failed
CI / release-image (push) Failing after 22m9s

This commit is contained in:
thehrz 2025-04-13 01:54:40 +08:00
parent 4ef4ea4668
commit ddb09068e3
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

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