feat(profile): fix expired text show

This commit is contained in:
2026-07-29 20:59:47 +08:00
parent 2589205efd
commit 2a8d213c0f

View File

@@ -84,9 +84,11 @@ const Profile: React.FC = () => {
children: userCompany?.validityEndTime ? (
<Space>
{userCompany.validityEndTime}
{userCompany?.validityStatus === 2 && (
<Text type="danger" style={{ fontSize: '12px' }}>
{$t('pages.company.expired')}
</Text>
)}
</Space>
) : (
$t('pages.company.permanent')