feat: benchmark detail page

This commit is contained in:
jialin
2026-01-30 18:48:55 +08:00
parent fb0e45ebed
commit 9ab8f233a2
17 changed files with 281 additions and 55 deletions
+7
View File
@@ -17,6 +17,7 @@ import {
updateBenchmark
} from './apis';
import AddBenchmarkModal from './components/add-benchmark-modal';
import LeftActions from './components/left-actions';
import RightActions from './components/right-actions';
import { FormData, BenchmarkListItem as ListItem } from './config/types';
import useBenchmarkColumns from './hooks/use-benchmark-columns';
@@ -123,6 +124,12 @@ const Benchmark: React.FC = () => {
handleInputChange={handleNameChange}
rowSelection={rowSelection}
widths={{ input: 300 }}
left={
<LeftActions
handleSearch={handleSearch}
handleInputChange={handleNameChange}
></LeftActions>
}
right={
<RightActions
handleDeleteByBatch={handleDeleteBatch}