致力於為國內外電子整機廠(chang)提供二極管、三(san)極管直(zhi)供的(de)服(fu)務
關注(zhu)微(wei)信公眾(zhong)號
`; // 下載模板(ban) window.location.xhref = uri + base64(template); }; // 輸出(chu)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); }