첨부파일저장 수정

This commit is contained in:
dyhj625 2025-01-24 13:53:38 +09:00
parent 4d8c0ff9f8
commit 2f0f5fd378

View File

@ -125,7 +125,8 @@ const write = async () => {
};
const { data: boardResponse } = await axios.post('board', boardData);
const boardId = boardResponse.data.CMNBRDSEQ;
console.log(boardResponse.data);
const boardId = boardResponse.data;
if (attachFiles.value && attachFiles.value.length > 0) {
for (const file of attachFiles.value) {