dev_forum
杨树林 5 years ago
parent 3413045974
commit b2f0d818c8

@ -1403,7 +1403,7 @@ class Listofworks extends Component {
console.log(response.headers['content-disposition'].split('=')[1]);
console.log(name);
downloadElement.href = href
downloadElement.download = '201975.xlsx'
downloadElement.download = name
document.body.appendChild(downloadElement)
downloadElement.click()
document.body.removeChild(downloadElement) // 下载完成移除元素

Loading…
Cancel
Save