mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 12:43:29 +09:00
fix : 아이콘 붙이기 및 pdf 파일만 업로드 되도록 수정, 다건 파일 업로드 일시 확인 필요
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user