Auto Commit

上级 c0d49d99
......@@ -35,6 +35,7 @@ const tableToExcel = async (jsonData, fileName) => {
</head><body><table>${str}</table></body></html>`;
// 下载模板
// window.location.href = uri + base64(template);
const downloadLink = document.createElement("a");
downloadLink.href = uri + base64(template);
downloadLink.download = name + '.xls';
downloadLink.target = '_blank';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册