From c88bef959a451e120a2b8b532ffd4a88e828b4fb Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 1 Apr 2024 16:01:32 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=B3=BB=E7=BB=9F=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=AF=86=E7=A0=81=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 2 +- src/i18n/locales/zh-CN.ts | 2 +- src/views/system/user/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 1579fe2f..478c9612 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -1399,7 +1399,7 @@ export default { loginTime: 'Login Time', status: 'Status', userNameTip:'The account cannot start with a number and can contain uppercase and lowercase letters, numbers, and no less than 5 digits', - pwdTip:'The password should contain at least uppercase and lowercase letters, numbers, special symbols, and no less than 6 digits', + passwdTip:'The password should contain at least uppercase and lowercase letters, numbers, special symbols, and no less than 6 digits', nickNameTip:'Nicknames can only contain letters, numbers, Chinese characters, and underscores, with no less than 2 digits', emailTip:'Please enter the correct email address', phoneTip:'Please enter the correct phone number', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 4a9bc36e..782980e9 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1399,7 +1399,7 @@ export default { loginTime: '登录时间', status: '用户状态', userNameTip:'账号不能以数字开头,可包含大写小写字母,数字,且不少于5位', - pwdTip:'密码至少包含大小写字母、数字、特殊符号,且不少于6位', + passwdTip:'密码至少包含大小写字母、数字、特殊符号,且不少于6位', nickNameTip:'昵称只能包含字母、数字、中文和下划线,且不少于2位', emailTip:'请输入正确的邮箱地址', phoneTip:'请输入正确的手机号码', diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index fd8dc0c4..39ced194 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -293,7 +293,7 @@ const modalStateFrom = Form.useForm( { required: true, pattern: regExpPasswd, - message: t('views.system.user.userNameTip'), + message: t('views.system.user.passwdTip'), }, ], nickName: [