This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-21 17:08:29 +07:00
parent 79ce7ab450
commit 9cc12ada52

View file

@ -72,6 +72,7 @@ async function uploadFileURL(uploadUrl: string) {
})
.then(async () => {
await success($q, "อัปโหลดไฟล์สำเร็จ");
await fetchCheckfile();
})
.catch((err) => {
messageError($q, err);
@ -90,7 +91,6 @@ async function fetchCheckfile() {
.then(async (res) => {
if (res.data.length >= 1) {
isCheckFile.value = true;
console.log(isCheckFile.value);
}
})
.catch((e) => {
@ -103,7 +103,10 @@ onMounted(() => {
});
</script>
<template>
<div class="col-12" v-if="!checkRoutePermisson && dataPermissions && !isCheckFile ">
<div
class="col-12"
v-if="!checkRoutePermisson && dataPermissions && !isCheckFile"
>
<div class="col-12">
<q-separator size="3px" color="grey-2" />
</div>