feat: 网元文件下载支持删除临时缓存文件
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user