fix:注册界面格式校验修复
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -254,9 +254,6 @@ const local:any = {
|
||||
birthDate: '出生日期',
|
||||
birthDatePlaceholder: '请选择出生日期',
|
||||
birthDateRequired: '请选择出生日期',
|
||||
usernameLengthLimit:"用户名太短",
|
||||
usernameExists:"用户名已经注册",
|
||||
usernameRequired:"用户名不能为空",
|
||||
phoneInvalid:"手机号格式不正确",
|
||||
phoneExists:"手机号已经注册",
|
||||
emailInvalid:"邮箱格式不正确",
|
||||
@@ -265,6 +262,12 @@ const local:any = {
|
||||
codeRequired:"验证码不能为空",
|
||||
passwordRequired:"密码不能为空",
|
||||
passwordLength:"密码太短",
|
||||
usernameRequired: '请输入用户名',
|
||||
usernameLengthLimit: '用户名长度必须在3-20个字符之间',
|
||||
usernameFormatError: '用户名只能包含字母、数字和下划线',
|
||||
usernameStartWithLetter: '用户名必须以字母开头',
|
||||
usernameExists: '该用户名已被使用',
|
||||
validationError: '验证失败,请重试'
|
||||
},
|
||||
resetPwd: {
|
||||
title: '重置密码'
|
||||
|
||||
Reference in New Issue
Block a user