gistree 레이어 옆 이미지 추가
This commit is contained in:
@@ -203,6 +203,7 @@ export default React.memo(function GisTree({ checkedNodes = [], setCheckedNodes
|
|||||||
<input type="checkbox" checked={checked.includes(node.id)} onChange={() => handleCheck(node.id)} className="cursor-pointer" />
|
<input type="checkbox" checked={checked.includes(node.id)} onChange={() => handleCheck(node.id)} className="cursor-pointer" />
|
||||||
{node.icon && <span>{node.icon}</span>}
|
{node.icon && <span>{node.icon}</span>}
|
||||||
<span className="text-[1.3rem] font-medium text-label">{node.text}</span>
|
<span className="text-[1.3rem] font-medium text-label">{node.text}</span>
|
||||||
|
{depth > 0 && <span><img className="cursor-pointer w-5 h-5" src='/images/map/layericon/Layer_Select_BTN.png' onClick={()=>{}} alt={node.text}></img></span>}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
sort={(a, b) => {
|
sort={(a, b) => {
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ export default function UiPageNations(commonPageNationsProps: CommonPageNationsP
|
|||||||
<PaginationItem>
|
<PaginationItem>
|
||||||
<PaginationPrevious
|
<PaginationPrevious
|
||||||
href="#"
|
href="#"
|
||||||
onClick={() => {
|
onClick={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
if (startPage > 1) handlePageChange(startPage - 1);
|
if (startPage > 1) handlePageChange(startPage - 1);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -53,7 +54,7 @@ export default function UiPageNations(commonPageNationsProps: CommonPageNationsP
|
|||||||
<PaginationLink
|
<PaginationLink
|
||||||
href="#"
|
href="#"
|
||||||
isActive={pageNum === pageProps.cur}
|
isActive={pageNum === pageProps.cur}
|
||||||
onClick={() => handlePageChange(pageNum)}
|
onClick={(e) => {e.preventDefault(); handlePageChange(pageNum)}}
|
||||||
>
|
>
|
||||||
{pageNum}
|
{pageNum}
|
||||||
</PaginationLink>
|
</PaginationLink>
|
||||||
@@ -65,7 +66,8 @@ export default function UiPageNations(commonPageNationsProps: CommonPageNationsP
|
|||||||
<PaginationItem>
|
<PaginationItem>
|
||||||
<PaginationNext
|
<PaginationNext
|
||||||
href="#"
|
href="#"
|
||||||
onClick={() => {
|
onClick={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
if (endPage < totalPages) handlePageChange(endPage + 1);
|
if (endPage < totalPages) handlePageChange(endPage + 1);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user