ประเมินบุคคล => fix bug upload file
This commit is contained in:
parent
b0780c535a
commit
af6ac3f158
3 changed files with 128 additions and 119 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue