Merge pull request #70 from unitwk/abstract

Abstract
This commit is contained in:
Umou 2024-03-27 14:33:01 +08:00 committed by GitHub
commit 21512c2715
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -5,7 +5,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
panel/public/upload_files/
panel/public/
*.code-workspace
vscode/
.vscode/

View File

@ -40,7 +40,7 @@ const handleGenerateApiKey = async (enable: boolean) => {
const handleChangePassword = async () => {
formRef.value?.validateFields().then(async () => {
if (formState.password1 !== formState.password2) return reportErrorMsg(t("TXT_CODE_d51f5d6"));
if (formState.password1.length < 6 || formState.password1.length > 36)
if (formState.password1.length < 9 || formState.password1.length > 36)
return reportErrorMsg(t("TXT_CODE_cc5a3aea"));
try {
await executeUpdatePassword({

View File

@ -239,7 +239,7 @@
"TXT_CODE_13ae6a93": "Copy",
"TXT_CODE_d3de39b4": "Update Successful",
"TXT_CODE_d51f5d6": "Password length does not match",
"TXT_CODE_cc5a3aea": "Password length cannot be less than 6 characters",
"TXT_CODE_cc5a3aea": "Password length cannot be less than 9 characters",
"TXT_CODE_9bb2f08b": "User Profile",
"TXT_CODE_eb9fcdad": "Username",
"TXT_CODE_63ccbf90": "Permission",

View File

@ -239,7 +239,7 @@
"TXT_CODE_13ae6a93": "复制",
"TXT_CODE_d3de39b4": "更新成功",
"TXT_CODE_d51f5d6": "两次输入的密码不一致",
"TXT_CODE_cc5a3aea": "密码长度不能小于6位",
"TXT_CODE_cc5a3aea": "密码长度不能小于9位",
"TXT_CODE_9bb2f08b": "用户信息",
"TXT_CODE_eb9fcdad": "用户名",
"TXT_CODE_63ccbf90": "权限等级",