Merge branch 'oat' into development
This commit is contained in:
commit
08e94d260f
1 changed files with 4 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ const file = ref<File | undefined>()
|
|||
: ''
|
||||
"
|
||||
id="inputFile"
|
||||
:rules="[(v) => v != undefined || 'โปรดอัปโหลดไฟล์']"
|
||||
:rules="[(v) => (v !== undefined || mode === 'edit' ) || ('โปรดอัปโหลดไฟล์')]"
|
||||
>
|
||||
<template v-slot:prepend>
|
||||
<q-icon name="attach_file" />
|
||||
|
|
@ -258,6 +258,9 @@ const file = ref<File | undefined>()
|
|||
color="primary"
|
||||
:disable="error.fileName2Long"
|
||||
id="submitFile"
|
||||
@click="()=> {
|
||||
console.log(file?.name)
|
||||
}"
|
||||
/>
|
||||
<q-btn
|
||||
label="ยกเลิก"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue