diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 17b9179d4..09516a5f9 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1404,6 +1404,7 @@ class Listofworks extends Component { const name = decodeURI(response.headers['content-disposition'].split('=')[1]) console.log(response.headers['content-disposition'].split('=')[1]); console.log(name); + console.log(decodeURIComponent(response.headers['content-disposition'].split('=')[1])); downloadElement.href = href downloadElement.download = name document.body.appendChild(downloadElement)