解决前端文件下载报文件不存在的错误

This commit is contained in:
zhoumingfa
2024-07-24 20:42:33 +08:00
parent 201b6a5018
commit 36e554d8ed
3 changed files with 4 additions and 4 deletions

View File

@@ -270,7 +270,7 @@
// 下载文件
async function download(file) {
try {
await fileApi.downLoadFile(file.fileName, file.fileKey);
await fileApi.downLoadFile(file.fileKey);
} catch (e) {
smartSentry.captureError(e);
}