fix: 修复下载产品文件
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -508,8 +508,7 @@ const handleTableViewDataDown = async (scope) => { | ... | @@ -508,8 +508,7 @@ const handleTableViewDataDown = async (scope) => { |
| 508 | } | 508 | } |
| 509 | obsDownloadRequest(refSignInfo?.data).then((res: any) => { | 509 | obsDownloadRequest(refSignInfo?.data).then((res: any) => { |
| 510 | if (res && !res.msg) { | 510 | if (res && !res.msg) { |
| 511 | let f = scope.row.fileName; | 511 | let name = scope.row.fileName; |
| 512 | let name = f.name; | ||
| 513 | var fileSuffix = name ? name.substring(name.lastIndexOf('.') + 1) : ''; | 512 | var fileSuffix = name ? name.substring(name.lastIndexOf('.') + 1) : ''; |
| 514 | download(res, name, fileSuffix); | 513 | download(res, name, fileSuffix); |
| 515 | } else { | 514 | } else { | ... | ... |
-
Please register or sign in to post a comment