From 2a8d213c0fa77319c5334c841c6df61649b61cfa Mon Sep 17 00:00:00 2001 From: Johnton Chen <504071088@qq.com> Date: Wed, 29 Jul 2026 20:59:47 +0800 Subject: [PATCH] feat(profile): fix expired text show --- src/pages/profile/index.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/profile/index.tsx b/src/pages/profile/index.tsx index 3a8dc74..20ac056 100644 --- a/src/pages/profile/index.tsx +++ b/src/pages/profile/index.tsx @@ -84,9 +84,11 @@ const Profile: React.FC = () => { children: userCompany?.validityEndTime ? ( {userCompany.validityEndTime} - - {$t('pages.company.expired')} - + {userCompany?.validityStatus === 2 && ( + + {$t('pages.company.expired')} + + )} ) : ( $t('pages.company.permanent')