dev_forum
杨树明 5 years ago
parent f7fb1265dc
commit 2d0a22153f

@ -43,7 +43,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(value) console.log(newvalue)
link.download = Base64.decode(newvalue); link.download = Base64.decode(newvalue);
//兼容火狐浏览器 //兼容火狐浏览器
let evt = document.createEvent("MouseEvents"); let evt = document.createEvent("MouseEvents");

Loading…
Cancel
Save