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(""; }