간격 조절 조건 수정.
parent
1f712135e0
commit
6dce384e77
|
|
@ -140,7 +140,7 @@ function CodeViewer(props) {
|
||||||
`onclick="const flag = this.checked; document.querySelectorAll('.'+this.id.replace('chk', '')).forEach((input)=>{input.checked = flag})"` +
|
`onclick="const flag = this.checked; document.querySelectorAll('.'+this.id.replace('chk', '')).forEach((input)=>{input.checked = flag})"` +
|
||||||
// "onClick={chkboxControll} "+
|
// "onClick={chkboxControll} "+
|
||||||
">"+item.full_content;
|
">"+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;
|
item.full_content = "<br>"+item.full_content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue