เพิ่ม accept ไฟล์
This commit is contained in:
parent
90382ae3bb
commit
833e4d69b9
3 changed files with 3 additions and 3 deletions
|
|
@ -900,7 +900,7 @@ onMounted(() => {
|
||||||
label="ไฟล์เอกสารหลักฐาน"
|
label="ไฟล์เอกสารหลักฐาน"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
lazy-rules
|
lazy-rules
|
||||||
accept=".pdf,.xlsx,.doc"
|
accept=".pdf,.xlsx,.docx,.png,.jpg"
|
||||||
clearable
|
clearable
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
|
|
|
||||||
|
|
@ -519,7 +519,7 @@ function closeDetail() {
|
||||||
@added="uploadFile"
|
@added="uploadFile"
|
||||||
label="ไฟล์เอกสารหลักฐาน"
|
label="ไฟล์เอกสารหลักฐาน"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
accept=".pdf,.xlsx,.doc"
|
accept=".pdf,.xlsx,.docx,.png,.jpg"
|
||||||
clearable
|
clearable
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@ function downloadFile(link: string) {
|
||||||
:label="label"
|
:label="label"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
lazy-rules
|
lazy-rules
|
||||||
accept=".pdf,.xlsx,.doc"
|
accept=".pdf,.xlsx,.docx,.png,.jpg"
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<q-icon name="attach_file" />
|
<q-icon name="attach_file" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue