fix: details layout

This commit is contained in:
jialin
2026-01-30 18:48:55 +08:00
parent 5747cae87a
commit d173e2d49b
14 changed files with 103 additions and 33 deletions
+10
View File
@@ -120,3 +120,13 @@ export async function exportBenchmarkList(
cancelToken: options?.token
});
}
export async function stopBenchmark(params: {
id: number;
data: Record<string, any>;
}) {
return request(`${BENCHMARKS_API}/${params.id}/state`, {
method: 'PATCH',
data: params.data
});
}