diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index c866f7592..b04692b44 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1406,7 +1406,7 @@ class Listofworks extends Component { console.log(name); console.log(decodeURIComponent(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) // 下载完成移除元素