diff --git a/web/src/components/topup/modals/TopupHistoryModal.jsx b/web/src/components/topup/modals/TopupHistoryModal.jsx index 9659e929..1abd45df 100644 --- a/web/src/components/topup/modals/TopupHistoryModal.jsx +++ b/web/src/components/topup/modals/TopupHistoryModal.jsx @@ -161,6 +161,16 @@ const TopupHistoryModal = ({ visible, onCancel, t }) => { const columns = useMemo(() => { const baseColumns = [ + ...(userIsAdmin + ? [ + { + title: t('用户ID'), + dataIndex: 'user_id', + key: 'user_id', + render: (userId) => {userId ?? '-'}, + }, + ] + : []), { title: t('订单号'), dataIndex: 'trade_no',