Merge branch 'oat' into development

This commit is contained in:
oat 2023-12-13 17:34:08 +07:00
commit 08e94d260f

View file

@ -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="ยกเลิก"