From 0c76107f0a68f327211774f11436c3c2bdaec3a5 Mon Sep 17 00:00:00 2001 From: Zoyafng Date: Thu, 7 Nov 2024 16:10:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=9A=90=E8=97=8Faccount=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/ChangePassword/core/resetPassword.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/guard-core-v4/src/ChangePassword/core/resetPassword.tsx b/packages/guard-core-v4/src/ChangePassword/core/resetPassword.tsx index 4d3667045..63c245e2e 100644 --- a/packages/guard-core-v4/src/ChangePassword/core/resetPassword.tsx +++ b/packages/guard-core-v4/src/ChangePassword/core/resetPassword.tsx @@ -114,11 +114,13 @@ export const GuardResetPassword = () => { className="icon" />
{t('login.resetPwd')}
-
- {t('login.resetPassword.resetPasswordText2', { - account - })} -
+ {account && ( +
+ {t('login.resetPassword.resetPasswordText2', { + account + })} +
+ )}