style: 系统用户账号简单4位长度

This commit is contained in:
TsMask
2025-08-05 17:27:18 +08:00
parent 6aeb645d88
commit 7901b34c04
3 changed files with 6 additions and 5 deletions

View File

@@ -20,8 +20,9 @@ export const regExpPort =
* 有效账号格式
*
* 账号只能包含大写字母、小写字母和数字的字符串长度至少为6位
* /^[A-Za-z0-9]{6,}$/
*/
export const regExpUserName = /^[A-Za-z0-9]{6,}$/;
export const regExpUserName = /^.{4,}$/;
/**
* 有效密码格式