견적서 첨부파일 ppt, pptx 추가
This commit is contained in:
parent
edcb51e224
commit
6a0072b058
@ -28,6 +28,8 @@ export default function EstimateFileUploader({ uploadFiles, setUploadFiles }) {
|
|||||||
'application/pdf',
|
'application/pdf',
|
||||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||||
'application/vnd.ms-excel',
|
'application/vnd.ms-excel',
|
||||||
|
'application/vnd.openxmlformats-officedocument.presentationml.presentation', // PPTX 형식
|
||||||
|
'application/vnd.ms-powerpoint', // PPT 형식
|
||||||
]
|
]
|
||||||
Array.from(e.target.files).forEach((file) => {
|
Array.from(e.target.files).forEach((file) => {
|
||||||
//엑셀, pdf, 이미지
|
//엑셀, pdf, 이미지
|
||||||
@ -61,6 +63,8 @@ export default function EstimateFileUploader({ uploadFiles, setUploadFiles }) {
|
|||||||
'application/pdf',
|
'application/pdf',
|
||||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||||
'application/vnd.ms-excel',
|
'application/vnd.ms-excel',
|
||||||
|
'application/vnd.openxmlformats-officedocument.presentationml.presentation', // PPTX 형식
|
||||||
|
'application/vnd.ms-powerpoint', // PPT 형식
|
||||||
]
|
]
|
||||||
|
|
||||||
Array.from(e.dataTransfer.files).forEach((file) => {
|
Array.from(e.dataTransfer.files).forEach((file) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user