f9f62ee9 by lihua

fix: 修复下载产品文件

1 parent 1c6ae929
...@@ -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 {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!