feat: 网元文件下载支持删除临时缓存文件
This commit is contained in:
@@ -19,7 +19,7 @@ export function dumpStop(data: Record<string, string>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 网元抓包PACP 下载
|
// 网元抓包PACP 下载
|
||||||
export function dumpDownload(data: Record<string, string>) {
|
export function dumpDownload(data: Record<string, any>) {
|
||||||
return request({
|
return request({
|
||||||
url: '/trace/tcpdump/download',
|
url: '/trace/tcpdump/download',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ function fnDownloadFile(row: Record<string, any>) {
|
|||||||
neId: queryParams.neId,
|
neId: queryParams.neId,
|
||||||
path: queryParams.path,
|
path: queryParams.path,
|
||||||
fileName: row.fileName,
|
fileName: row.fileName,
|
||||||
|
delTemp: true,
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user