fix(*): 全量 UI 审查与 undefined 展示异常修复

This commit is contained in:
zhanjunhao
2026-11-20 10:18:17 +08:00
parent 04cc45bbb7
commit 605cff1d58
65 changed files with 507 additions and 274 deletions
@@ -24,6 +24,7 @@ import { IconRefresh, IconClose } from '@/components/ui/icons';
import { useTranslation } from 'react-i18next';
import QRCode from 'qrcode';
import { API, renderQuota } from '../../../helpers';
import { formatCurrency } from '../../../helpers/safeDisplay';
const { Text } = Typography;
@@ -228,7 +229,7 @@ const WechatQRModal = ({ visible, onClose, orderData, pollFn }) => {
<div>
<Text type='secondary'>{t('支付金额:')}</Text>
<Text strong style={{ fontSize: 20, color: '#f5222d' }}>
¥{orderData.amount?.toFixed(2)}
{formatCurrency(orderData.amount)}
</Text>
</div>
<div>