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

@ -79,7 +79,7 @@ async function getReport(list: string) {
)?.val;
const newReport = listFind === "report2" ? "report2-history" : listFind;
pdfSrc.value = undefined;
numOfPages.value = 1;
page.value = 1;
isLoadPDF.value = true;
if (newReport) {
await http