From b4b06d96b53a66bac682069807bd7dd32f130216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A3=BC=EC=88=98=ED=98=84?= Date: Tue, 24 Jun 2025 19:07:20 +0900 Subject: [PATCH] =?UTF-8?q?ui=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/uiCode/uiCodeList.html | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/admin/src/main/resources/templates/uiCode/uiCodeList.html b/admin/src/main/resources/templates/uiCode/uiCodeList.html index 3a90da90..f17195eb 100644 --- a/admin/src/main/resources/templates/uiCode/uiCodeList.html +++ b/admin/src/main/resources/templates/uiCode/uiCodeList.html @@ -98,11 +98,15 @@ -
- +
+
+
+ +
+
@@ -231,13 +235,17 @@ const previouslySelected = treeWrap.querySelector('button.selected'); if (previouslySelected) { previouslySelected.classList.remove('selected'); - if (previouslySelected.classList.contains('tit')) { + /* if (previouslySelected.classList.contains('tit')) { previouslySelected.parentNode.classList.add('folding'); - } + }*/ } button.classList.add('selected'); if (button.classList.contains('tit')) { - button.parentNode.classList.remove('folding'); + if(button.parentNode.classList.contains('folding')){ + button.parentNode.classList.remove('folding'); + }else{ + button.parentNode.classList.add('folding'); + } } // 노드 데이터 추출 const data = {