fix(*): 全量 UI 审查与 undefined 展示异常修复
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user