fix download name
This commit is contained in:
@@ -19607,7 +19607,10 @@ const _sfc_main$D = defineComponent({
|
||||
<table syle="table-layout: fixed;word-wrap: break-word; word-break: break-all;">${tableStr}</table>
|
||||
</body>
|
||||
</html>`;
|
||||
window.location.href = uri + base64(exportTemplate);
|
||||
let a = document.createElement("a");
|
||||
a.href = uri + base64(exportTemplate);
|
||||
a.download = "\u4E0B\u8F7D\u6587\u4EF6.xls";
|
||||
a.click();
|
||||
return;
|
||||
};
|
||||
function base64(s2) {
|
||||
|
||||
Reference in New Issue
Block a user