refactor: summary

This commit is contained in:
jialin
2026-01-30 18:48:55 +08:00
parent 22e42e279c
commit 577996f507
14 changed files with 344 additions and 173 deletions
+3
View File
@@ -13,6 +13,7 @@ import { useEffect } from 'react';
import NoResult from '../_components/no-result';
import PageBox from '../_components/page-box';
import {
BENCHMARKS_API,
createBenchmark,
deleteBenchmark,
queryBenchmarkList,
@@ -48,6 +49,8 @@ const Benchmark: React.FC = () => {
} = useTableFetch<ListItem>({
fetchAPI: queryBenchmarkList,
deleteAPI: deleteBenchmark,
API: BENCHMARKS_API,
watch: true,
contentForDelete: 'menu.models.benchmark'
});
const intl = useIntl();