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