diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 37ad51216..c866f7592 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1336,7 +1336,7 @@ class Listofworks extends Component { }); } - + myBase64 // 导出实习报告批量 internshipreport = (url)=>{ console.log("internshipreport"); @@ -1366,7 +1366,7 @@ class Listofworks extends Component { //后台再header中传文件名 const name = decodeURI(response.headers['content-disposition'].split('=')[1]) downloadElement.href = href - downloadElement.download = name + // downloadElement.download = name document.body.appendChild(downloadElement) downloadElement.click() document.body.removeChild(downloadElement) // 下载完成移除元素