2
0

fix:注册界面格式校验修复

This commit is contained in:
zhongzm
2025-01-14 16:36:04 +08:00
parent f546fc466a
commit 3d072513f1
3 changed files with 37 additions and 8 deletions

View File

@@ -254,9 +254,6 @@ const local: any = {
birthDate: 'Birth Date',
birthDatePlaceholder: 'Please select birth date',
birthDateRequired: 'Please select birth date',
usernameLengthLimit:"Username is too short",
usernameExists:"The username is already registered",
usernameRequired:"The username cannot be empty",
phoneInvalid:"The mobile phone number is incorrect",
phoneExists:"The mobile phone number has been registered",
emailInvalid:"The email is incorrect",
@@ -265,6 +262,12 @@ const local: any = {
codeRequired:"The code cannot be empty",
passwordRequired:"The password cannot be empty",
passwordLength:"The password is too short",
usernameRequired: 'Please enter username',
usernameLengthLimit: 'Username must be 3-20 characters',
usernameFormatError: 'Username can only contain letters, numbers and underscore',
usernameStartWithLetter: 'Username must start with a letter',
usernameExists: 'Username already exists',
validationError: 'Validation failed, please try again'
},
resetPwd: {
title: 'Reset Password'