Jo-wonbin / SpringBootPracticeProject

0 stars 0 forks source link

MultiPartFile이 프론트단에서 빈 파일인 경우에도 파일이 있는 것처럼 넘어오는 이슈 #20

Open Jo-wonbin opened 8 months ago

Jo-wonbin commented 8 months ago

이슈

해결방법

if (boardDto.getBoardFile().isEmpty() || boardDto.getBoardFile().get(0).getSize() == 0)