feat: 网元文件下载支持删除临时缓存文件

This commit is contained in:
TsMask
2024-08-22 10:18:42 +08:00
parent 527cf89d1a
commit 32ec55d44e
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ export function dumpStop(data: Record<string, string>) {
}
// 网元抓包PACP 下载
export function dumpDownload(data: Record<string, string>) {
export function dumpDownload(data: Record<string, any>) {
return request({
url: '/trace/tcpdump/download',
method: 'get',

View File

@@ -148,6 +148,7 @@ function fnDownloadFile(row: Record<string, any>) {
neId: queryParams.neId,
path: queryParams.path,
fileName: row.fileName,
delTemp: true,
})
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {