Replace toggle button with static count display

This commit is contained in:
2026-05-06 01:21:35 +08:00
parent 4afc20538c
commit 9d39415177
+7 -7
View File
@@ -261,15 +261,15 @@ export default function Review() {
<div className="action-col">
{deal.transactions && deal.transactions.length > 0 && (
<button
className="btn btn-secondary btn-sm"
onClick={() => toggleExpand(deal.id)}
className="tag "
// onClick={() => toggleExpand(deal.id)}
title="查看关联明细"
>
{expandedDeals.has(deal.id) ? (
<ChevronDown size={12} />
) : (
<ChevronRight size={12} />
)}{" "}
{/* {expandedDeals.has(deal.id) ? (*/}
{/* <ChevronDown size={12} />*/}
{/* ) : (*/}
{/* <ChevronRight size={12} />*/}
{/* )}{" "}*/}
{deal.transactions.length}笔
</button>
)}