แก้ bug build

This commit is contained in:
Warunee Tamkoo 2024-02-12 23:03:42 +07:00
parent e26b83f0bb
commit aff250139c

View file

@ -446,7 +446,8 @@ async function genReportDoc(data: any) {
// //
link.href = url;
link.download = `name.docx`; //
import.meta.env?.document.body.appendChild(link.value);
// import.meta.env?.document.body.appendChild(link.value);
document.body.appendChild(link.value);
link.click();
// URL