เพิ่ม accept ไฟล์

This commit is contained in:
setthawutttty 2024-01-09 09:54:02 +07:00
parent 90382ae3bb
commit 833e4d69b9
3 changed files with 3 additions and 3 deletions

View file

@ -900,7 +900,7 @@ onMounted(() => {
label="ไฟล์เอกสารหลักฐาน"
hide-bottom-space
lazy-rules
accept=".pdf,.xlsx,.doc"
accept=".pdf,.xlsx,.docx,.png,.jpg"
clearable
>
<template v-slot:prepend>

View file

@ -519,7 +519,7 @@ function closeDetail() {
@added="uploadFile"
label="ไฟล์เอกสารหลักฐาน"
hide-bottom-space
accept=".pdf,.xlsx,.doc"
accept=".pdf,.xlsx,.docx,.png,.jpg"
clearable
>
<template v-slot:prepend>

View file

@ -138,7 +138,7 @@ function downloadFile(link: string) {
:label="label"
hide-bottom-space
lazy-rules
accept=".pdf,.xlsx,.doc"
accept=".pdf,.xlsx,.docx,.png,.jpg"
>
<template v-slot:prepend>
<q-icon name="attach_file" />