chore: cluster system load service

This commit is contained in:
jialin
2026-01-12 12:24:34 +08:00
parent 2e5b075d1b
commit 05ad296b43
7 changed files with 105 additions and 9 deletions
+8 -4
View File
@@ -136,12 +136,16 @@ export async function deleteCluster(id: number) {
});
}
export async function queryClusterDetail(params: {
cluster_id: number | string;
}) {
export async function queryClusterDetail(
params: {
cluster_id: number | string;
},
options?: any
) {
return request(`${DASHBOARD_API}`, {
method: 'GET',
params
params,
cancelToken: options?.token
});
}