diff --git a/src/pages/app/PriceInsert.vue b/src/pages/app/PriceInsert.vue index 4805829..6023d66 100644 --- a/src/pages/app/PriceInsert.vue +++ b/src/pages/app/PriceInsert.vue @@ -196,7 +196,12 @@ const onFileChange = (e: any) => { size: file.size, data: result.split(',')[1], } - pbAtts.value.push(pbAtt) + notyf.dismissAll() + if(pbAtt.logiFnm.includes('.pdf')) { + pbAtts.value.push(pbAtt) + }else{ + notyf.error("pdf 파일만 업로드 가능합니다.") + } } reader.readAsDataURL(file) @@ -275,6 +280,7 @@ function onInput(row, column){