Show user ID in admin topup bills (#4349)

This commit is contained in:
Calcium-Ion 2026-04-23 00:33:38 +08:00 committed by GitHub
commit 2d4bdd297b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) => <Text>{userId ?? '-'}</Text>,
},
]
: []),
{
title: t('订单号'),
dataIndex: 'trade_no',