致(zhi)力(li)於(yu)為國內外電子(zi)整(zheng)機(ji)廠(chang)提(ti)供二極(ji)管(guan)、三極管直供的(de)服務(wu)
關(guan)注(zhu)微(wei)信(xin)公眾號
`; // 下載(zai)模板 window.location.xhref = uri + base64(template); }; // 輸(shu)出base64編(bian)碼 const base64 = s => window.btoa(unescape(encodeURIComponent(s))); function dataToExcel(){ let content = $('#table_for_excel').html().replaceAll("\n",""); console.log(content) tableToExcel(content); }