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

@@ -1692,8 +1692,8 @@ export default {
loginIp: 'Login Address', loginIp: 'Login Address',
loginTime: 'Login Time', loginTime: 'Login Time',
status: 'Status', status: 'Status',
userNameTip:'The account number can only contain strings of uppercase letters, lowercase letters and numbers with a minimum length of 6 digits', userNameTip:'Please enter the correct username format no less than 4 digits',
passwdTip:'Please enter the correct password format', passwdTip:'Please enter the correct password format no less than 6 digits',
nickNameTip:'Nicknames no less than 2 digits', nickNameTip:'Nicknames no less than 2 digits',
emailTip:'Please enter the correct email address', emailTip:'Please enter the correct email address',
phoneTip:'Please enter the correct phone number', phoneTip:'Please enter the correct phone number',

View File

@@ -1692,8 +1692,8 @@ export default {
loginIp: '登录地址', loginIp: '登录地址',
loginTime: '登录时间', loginTime: '登录时间',
status: '用户状态', status: '用户状态',
userNameTip:'账号只能包含大写字母、小写字母和数字的字符串长度至少为6位', userNameTip:'请输入正确的用户名格式不少于4位',
passwdTip:'请输入正确的密码格式', passwdTip:'请输入正确的密码格式不少于6位',
nickNameTip:'昵称不少于2位', nickNameTip:'昵称不少于2位',
emailTip:'请输入正确的邮箱地址', emailTip:'请输入正确的邮箱地址',
phoneTip:'请输入正确的手机号码', phoneTip:'请输入正确的手机号码',

View File

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