diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx index d8f1179..24a4329 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx @@ -47,16 +47,14 @@ function StandardCodeList(props) { (resp) => { setMasterBoard(resp.result.codeList); setPaginationInfo(resp.result.paginationInfo); - let mutListTag = []; mutListTag.push(
검색된 결과가 없습니다.
); // 게시판 목록 초기값 - const resultCnt = parseInt(resp.result.codeListCnt); const currentPageNo = resp.result.paginationInfo.currentPageNo; const pageSize = resp.result.paginationInfo.pageSize; - + console.log(resp) // 리스트 항목 구성 - resp.result.codeList.forEach(function (item, index) { + resp.result.resultList.forEach(function (item, index) { if (index === 0) mutListTag = []; // 목록 초기화 const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index); @@ -116,7 +114,7 @@ function StandardCodeList(props) {