fix: error message still appear after close
This commit is contained in:
parent
534be038f6
commit
1115d10d44
3 changed files with 6 additions and 5 deletions
|
|
@ -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"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue