fix PDF = undefined
This commit is contained in:
parent
4d4a95c2b9
commit
4f0eecfffe
15 changed files with 24 additions and 2 deletions
|
|
@ -127,6 +127,7 @@ async function updateLeaveday() {
|
|||
isReport.value = false;
|
||||
isLoadPDF.value = true;
|
||||
pdfSrc.value = undefined;
|
||||
page.value = 1;
|
||||
|
||||
//เรียกฟังก์ชัน fetchLeaveday
|
||||
fetchLeaveday(
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue