From c30a5cabb7ae41f9c1fbe49e7461f3c3f5fc356a Mon Sep 17 00:00:00 2001
From: linkeyu <798648091@qq.com>
Date: Mon, 27 Jul 2026 19:13:34 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E9=9A=90=E8=97=8F?=
=?UTF-8?q?=E5=88=B0=E8=B4=A6=E5=92=8C=E6=89=93=E6=AC=BE=E4=B8=AD=E6=97=A0?=
=?UTF-8?q?=E5=85=B3=E5=8E=9F=E5=9B=A0=E5=88=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/(main)/withdraws/WithdrawReviewPage.tsx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/app/(main)/withdraws/WithdrawReviewPage.tsx b/src/app/(main)/withdraws/WithdrawReviewPage.tsx
index 38c1844..6174840 100644
--- a/src/app/(main)/withdraws/WithdrawReviewPage.tsx
+++ b/src/app/(main)/withdraws/WithdrawReviewPage.tsx
@@ -570,6 +570,7 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
},
{
title: '失败/拒绝原因',
+ key: 'fail_reason',
dataIndex: 'fail_reason',
ellipsis: true,
render: (v: string | null) => v || -,
@@ -647,6 +648,10 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
},
},
];
+ const visibleColumns =
+ activeStatus === 'pending' || activeStatus === 'success'
+ ? columns.filter((column) => column.key !== 'fail_reason')
+ : columns;
const inviteeColumns: ColumnsType = [
{ title: '手机号', dataIndex: 'phone', width: 130 },
@@ -945,7 +950,7 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
}
: undefined
}
- columns={columns}
+ columns={visibleColumns}
dataSource={items}
loading={loading}
pagination={{
--
2.52.0