간격 조절 조건 수정.

cks
강석 최 2023-11-17 18:01:42 +09:00
parent 1f712135e0
commit 6dce384e77
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ function CodeViewer(props) {
`onclick="const flag = this.checked; document.querySelectorAll('.'+this.id.replace('chk', '')).forEach((input)=>{input.checked = flag})"` +
// "onClick={chkboxControll} "+
">"+item.full_content;
if(item.cont_level===1 && item.cont_order !== 1){
if(index!==0 && item.cont_level===1 && item.cont_order !== 1){
item.full_content = "<br>"+item.full_content;
}
}