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