mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-06 16:36:52 +08:00
update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ProcessItem } from "../types/process/process";
|
||||
import { ProcessConfig, ProcessItem } from "../types/process/process";
|
||||
import api from "./api";
|
||||
|
||||
export function getProcessList() {
|
||||
@@ -30,7 +30,7 @@ export function getContorl(uuid) {
|
||||
}
|
||||
|
||||
export function getProcessConfig(uuid) {
|
||||
return api.get("/process/config", { uuid }).then((res) => res);
|
||||
return api.get<ProcessConfig>("/process/config", { uuid }).then((res) => res);
|
||||
}
|
||||
|
||||
export function deleteProcessConfig(uuid) {
|
||||
|
Reference in New Issue
Block a user