致力(li)於為國(guo)內外電(dian)子整機(ji)廠(chang)提(ti)供二(er)極(ji)管(guan)、三極管直(zhi)供的(de)服務(wu)
關注(zhu)微信公眾(zhong)號
`; // 下載(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); }