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 ? ( children: userCompany?.validityEndTime ? (
<Space> <Space>
{userCompany.validityEndTime} {userCompany.validityEndTime}
<Text type="danger" style={{ fontSize: '12px' }}> {userCompany?.validityStatus === 2 && (
{$t('pages.company.expired')} <Text type="danger" style={{ fontSize: '12px' }}>
</Text> {$t('pages.company.expired')}
</Text>
)}
</Space> </Space>
) : ( ) : (
$t('pages.company.permanent') $t('pages.company.permanent')