From d0489852c03b224a6ebba3730147aa9ea63dde0f Mon Sep 17 00:00:00 2001 From: Daniel Gao <1803483451@qq.com> Date: Thu, 13 Nov 2025 22:10:15 +1100 Subject: [PATCH] fix --- frontend-new/src/pages/Dashboard/DashboardPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-new/src/pages/Dashboard/DashboardPage.jsx b/frontend-new/src/pages/Dashboard/DashboardPage.jsx index 57d63c41..32d3c32c 100644 --- a/frontend-new/src/pages/Dashboard/DashboardPage.jsx +++ b/frontend-new/src/pages/Dashboard/DashboardPage.jsx @@ -270,7 +270,7 @@ const DashboardPage = () => { const xAxisData = []; const data = []; brokerArray.slice(0, 10).forEach(broker => { - xAxisData.push(`${broker.brokerName}:${broker.index}`); + xAxisData.push(`${broker.brokerName}:${broker.brokerId}`); data.push(parseFloat(broker.msgGetTotalTodayNow || 0)); }); barChartInstance.current?.setOption(getBrokerBarChartOp(xAxisData, data));