|
|
|
@ -42,7 +42,7 @@ class Fileslistitem extends Component{
|
|
|
|
|
let link = document.createElement('a');
|
|
|
|
|
document.body.appendChild(link);
|
|
|
|
|
link.href = result.data.url;
|
|
|
|
|
console.log(filesname)
|
|
|
|
|
console.log(value)
|
|
|
|
|
link.download = value;
|
|
|
|
|
//兼容火狐浏览器
|
|
|
|
|
let evt = document.createEvent("MouseEvents");
|
|
|
|
|