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
@@ -43,6 +43,7 @@ import { IconSearch } from '@/components/ui/icons';
import { API, timestamp2string } from '../../../helpers';
import { isAdmin } from '../../../helpers/utils';
import { useIsMobile } from '../../../hooks/common/useIsMobile';
import { formatCurrency } from '../../../helpers/safeDisplay';
const { Text } = Typography;
@@ -236,7 +237,7 @@ const TopupHistoryModal = ({ visible, onCancel, t }) => {
key: 'money',
render: (money) => (
<span className='text-base font-semibold text-rose-500'>
¥{Number(money || 0).toFixed(2)}
{formatCurrency(money, '¥', 2, '¥0.00')}
</span>
),
},