From 9524ce93633ca6e727e525f2f10333a8a690a0c1 Mon Sep 17 00:00:00 2001 From: anonymous Date: Thu, 22 Feb 2024 19:18:50 +0800 Subject: [PATCH] save --- .../RightContent/ChangePasswordForm.jsx | 24 ++++++++++++++++--- src/locales/zh-CN/user.ts | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/components/RightContent/ChangePasswordForm.jsx b/src/components/RightContent/ChangePasswordForm.jsx index c86d870..3e0c6ae 100644 --- a/src/components/RightContent/ChangePasswordForm.jsx +++ b/src/components/RightContent/ChangePasswordForm.jsx @@ -3,6 +3,8 @@ import { changePassword } from '@/services/user'; import { requiredRules } from '@/utils/rules'; import MyModalForm from '@/components/MyModalForm'; import t from '@/utils/i18n'; +import {LockOutlined} from "@ant-design/icons"; +import styles from "@/pages/User/index.less"; export default () => { @@ -20,13 +22,29 @@ export default () => { return ( - - + + ); }; diff --git a/src/locales/zh-CN/user.ts b/src/locales/zh-CN/user.ts index e91a51f..47d91e0 100644 --- a/src/locales/zh-CN/user.ts +++ b/src/locales/zh-CN/user.ts @@ -2,7 +2,7 @@ export default { 'login.remember': '30天内自动登录', 'change.password': '修改密码', 'logout': '退出登录', - 'old.password': '原始密码', + 'old.password': '原密码', 'new.password': '新密码', 'bind.user': '绑定账号',