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