fix: benchmark tooltip

This commit is contained in:
jialin
2026-02-06 18:34:20 +08:00
parent 4132494a49
commit 4a582ec8b1
9 changed files with 51 additions and 32 deletions
+1 -5
View File
@@ -201,11 +201,7 @@ const Benchmark: React.FC = () => {
});
const handleExportData = () => {
const firstSelectedRow = dataSource.dataList.find(
(item) => item.id === rowSelection.selectedRowKeys[0]
);
const name = firstSelectedRow ? firstSelectedRow.name : 'benchmark';
exportData(rowSelection.selectedRowKeys, name);
exportData(rowSelection.selectedRowKeys);
};
return (