fix: 网元抓包loading状态禁止重复开始任务

This commit is contained in:
TsMask
2024-10-08 16:49:14 +08:00
parent c0e62f48b7
commit 8dd84a5255
2 changed files with 7 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ export function dumpStart(data: Record<string, string>) {
url: '/trace/tcpdump/start',
method: 'post',
data: data,
timeout: 60_000,
});
}
@@ -15,6 +16,7 @@ export function dumpStop(data: Record<string, string>) {
url: '/trace/tcpdump/stop',
method: 'post',
data: data,
timeout: 60_000,
});
}
@@ -35,5 +37,6 @@ export function traceUPF(data: Record<string, string>) {
url: '/trace/tcpdump/upf',
method: 'post',
data: data,
timeout: 60_000,
});
}