mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-07 08:51:06 +08:00
ui update
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import { ProcessItem } from "../types/process/process";
|
||||
import api from "./api";
|
||||
|
||||
export function getProcessList() {
|
||||
return api.get("/process", undefined).then((res) => res);
|
||||
return api.get<ProcessItem[]>("/process", undefined).then((res) => res);
|
||||
}
|
||||
|
||||
export function getProcessListWait() {
|
||||
return api.get("/process/wait", undefined).then((res) => res);
|
||||
return api.get<ProcessItem[]>("/process/wait", undefined).then((res) => res);
|
||||
}
|
||||
|
||||
export function killProcessAll(uuid) {
|
||||
|
Reference in New Issue
Block a user