fix
This commit is contained in:
parent
79ce7ab450
commit
9cc12ada52
1 changed files with 5 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue