完成大图标小图标切换

This commit is contained in:
Sun
2024-01-04 16:22:33 +08:00
parent baf64a9272
commit 1474f796fc
9 changed files with 759 additions and 159 deletions
+19
View File
@@ -5,3 +5,22 @@ export function getAll<T>() {
url: '/system/monitor/getAll',
})
}
export function getCpuState<T>() {
return post<T>({
url: '/system/monitor/getCpuState',
})
}
export function getDiskStateByPath<T>(path: string) {
return post<T>({
url: '/system/monitor/getDiskStateByPath',
data: { path },
})
}
export function getMemonyState<T>() {
return post<T>({
url: '/system/monitor/getMemonyState',
})
}