dev_forum
杨树明 5 years ago
parent 38fd3e6db2
commit 1b867cef2e

@ -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");

Loading…
Cancel
Save