fix: error message still appear after close

This commit is contained in:
Methapon2001 2023-12-06 16:49:10 +07:00
parent 534be038f6
commit 1115d10d44
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
3 changed files with 6 additions and 5 deletions

View file

@ -183,10 +183,7 @@ async function submitFileForm(
{{ DEPT_NAME[currentDept] }}
</div>
<div class="grid q-mt-md">
<div
v-for="(value) in currentFolder"
:data-pathname="value.pathname"
>
<div v-for="value in currentFolder" :data-pathname="value.pathname">
<div
:style="{
position: 'relative',
@ -388,6 +385,7 @@ async function submitFileForm(
v-model:description="fileFormData.description"
v-model:keyword="fileFormData.keyword"
v-model:category="fileFormData.category"
@reset="() => (fileFormError = {})"
@filechange="(name: string) => (fileFormError.fileExist = checkFile(name))"
@submit="submitFileForm"
/>