fix: 有效账号格式不少于5位

This commit is contained in:
TsMask committed 2023-11-07 16:43:57 +08:00
1 parent 50cef777d5
commit 21c702ce9b
3 files changed
+493 -73

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ export const regExpPort =
*
* 账号不能以数字开头,可包含大写小写字母,数字,且不少于5位
*/
export const regExpUserName = /^[a-zA-Z][a-z0-9A-Z]{5,}$/;
export const regExpUserName = /^[a-zA-Z][a-z0-9A-Z]{4,}$/;
/**
* 有效密码格式