84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
window.open('data:application/vnd.ms--excel;base,' + base64data);怎么设置excel表格名称
ringa_lee
不使用window.open()方式下载excel。更改为:document.getElementById(a标签id).href ='data:application/vnd.ms-excel;base,' + base64data;//必须是a标签,否则无法下载改名document.getElementById(a标签id).download = fileName;
不使用window.open()方式下载excel。
更改为:
document.getElementById(a标签id).href ='data:application/vnd.ms-excel;base,' + base64data;//必须是a标签,否则无法下载改名
document.getElementById(a标签id).download = fileName;