From 7a294aaf5b41bea7aad9d62e34b212deddcf35a2 Mon Sep 17 00:00:00 2001 From: dbnt-design Date: Thu, 26 Oct 2023 15:58:15 +0900 Subject: [PATCH] =?UTF-8?q?=ED=99=94=EB=A9=B4=EC=95=88=EB=82=98=EC=98=A4?= =?UTF-8?q?=EB=8A=94=EA=B1=B0=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/standardCode/StandardCodeList.jsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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) {
{/* */} - + {/* */}