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

@ -127,6 +127,7 @@ async function updateLeaveday() {
isReport.value = false;
isLoadPDF.value = true;
pdfSrc.value = undefined;
page.value = 1;
// fetchLeaveday
fetchLeaveday(

View file

@ -108,6 +108,7 @@ async function updateFilterType(type: string) {
isReport.value = false;
isLoadPDF.value = true;
pdfSrc.value = undefined;
page.value = 1;
switch (type) {
case "DAY":
body = {