화면안나오는거수정

cks
dbnt-design 2023-10-26 15:58:15 +09:00
parent 4a166496a2
commit 7a294aaf5b
1 changed files with 3 additions and 5 deletions

View File

@ -47,16 +47,14 @@ function StandardCodeList(props) {
(resp) => { (resp) => {
setMasterBoard(resp.result.codeList); setMasterBoard(resp.result.codeList);
setPaginationInfo(resp.result.paginationInfo); setPaginationInfo(resp.result.paginationInfo);
let mutListTag = []; let mutListTag = [];
mutListTag.push(<p className="no_data" key="0">검색된 결과가 없습니다.</p>); // mutListTag.push(<p className="no_data" key="0">검색된 결과가 없습니다.</p>); //
const resultCnt = parseInt(resp.result.codeListCnt); const resultCnt = parseInt(resp.result.codeListCnt);
const currentPageNo = resp.result.paginationInfo.currentPageNo; const currentPageNo = resp.result.paginationInfo.currentPageNo;
const pageSize = resp.result.paginationInfo.pageSize; 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 = []; // if (index === 0) mutListTag = []; //
const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index); const listIdx = itemIdxByPage(resultCnt , currentPageNo, pageSize, index);
@ -116,7 +114,7 @@ function StandardCodeList(props) {
<div className="layout"> <div className="layout">
{/* <!-- Navigation --> */} {/* <!-- Navigation --> */}
<EgovLeftNav></EgovLeftNav> <EgovLeftNav/>
{/* <!--// Navigation --> */} {/* <!--// Navigation --> */}
<div className="contents NOTICE_LIST" id="contents"> <div className="contents NOTICE_LIST" id="contents">