|
|
|
@ -31,7 +31,8 @@ class Fileslistitem extends Component{
|
|
|
|
|
downloadfiles=(url,name)=>{
|
|
|
|
|
const aLink = document.createElement('a');
|
|
|
|
|
aLink.style.display='none';
|
|
|
|
|
aLink.download =name;
|
|
|
|
|
console.log(name)
|
|
|
|
|
aLink.setAttribute('download',name)
|
|
|
|
|
aLink.href = url;
|
|
|
|
|
document.body.appendChild(aLink);
|
|
|
|
|
aLink.click();
|
|
|
|
|