화면안나오는거수정
parent
4a166496a2
commit
7a294aaf5b
|
|
@ -47,16 +47,14 @@ function StandardCodeList(props) {
|
|||
(resp) => {
|
||||
setMasterBoard(resp.result.codeList);
|
||||
setPaginationInfo(resp.result.paginationInfo);
|
||||
|
||||
let mutListTag = [];
|
||||
mutListTag.push(<p className="no_data" key="0">검색된 결과가 없습니다.</p>); // 게시판 목록 초기값
|
||||
|
||||
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) {
|
|||
|
||||
<div className="layout">
|
||||
{/* <!-- Navigation --> */}
|
||||
<EgovLeftNav></EgovLeftNav>
|
||||
<EgovLeftNav/>
|
||||
{/* <!--// Navigation --> */}
|
||||
|
||||
<div className="contents NOTICE_LIST" id="contents">
|
||||
|
|
|
|||
Loading…
Reference in New Issue