fix PDF = undefined

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-21 09:30:54 +07:00
parent 4d4a95c2b9
commit 4f0eecfffe
15 changed files with 24 additions and 2 deletions

View file

@ -142,6 +142,8 @@ function fetchDataReport() {
* @param data อมลบญชนลา
*/
async function fetchDocumentTemplate(data: any) {
pdfSrc.value = undefined;
page.value = 1;
await axios
.post(`${config.API.reportTemplate}/xlsx`, data, {
headers: {