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