ประเมินบุคคล => fix bug upload file

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-14 12:23:33 +07:00
parent b0780c535a
commit af6ac3f158
3 changed files with 128 additions and 119 deletions

View file

@ -81,10 +81,10 @@ async function fetchPathUpload(
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
// .finally(() => {
// });
}
}
@ -105,6 +105,9 @@ async function uploadfile(uploadUrl: string, file: any) {
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}
@ -237,6 +240,7 @@ onMounted(async () => {
hide-bottom-space
lazy-rules
accept=".pdf"
label="อัปโหลดไฟล์"
>
<template v-slot:prepend>
<q-icon name="attach_file" />