From 39e9422d1fa1cda0c85ca58b0621060ee02b64bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Tue, 24 Oct 2023 13:18:04 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=8B=AC=20=ED=83=80=EC=9D=B4?= =?UTF-8?q?=ED=8B=80=20=EB=82=B4=EC=9A=A9=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/standardCode/BookmarkModal.js | 7 ++++++- .../src/pages/standardCode/viewer.js | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js b/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js index f1b3a91..4180ea9 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js @@ -21,11 +21,16 @@ const BookmarkModal = ({docCode, docPart}) => { }) }, (resp) => { - setModalTitle(docCode + " " + docPart); let bodyTag = [] if(resp.result.document.length>0){ resp.result.document.forEach(function (item, index){ const isTitle = item.full_content.includes(item.group_title); + if(isTitle){ + setModalTitle(docCode + " " + item.group_title); + } + if(item.full_content.includes(" ) diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js index c3dc320..75ec855 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/viewer.js @@ -133,9 +133,6 @@ function CodeViewer(props) { }) } } - if(item.full_content.includes(""; }