하석형 하석형 04-11
250411 하석형 관리자메인 최신글 순번 오류 수정, 메뉴별 권한 관리 초기 설정
@c7688e89a6fa37af934084bda371887a3ab545bf
client/views/pages/adm/authority/menuAuthority/MenuAuthority.vue
--- client/views/pages/adm/authority/menuAuthority/MenuAuthority.vue
+++ client/views/pages/adm/authority/menuAuthority/MenuAuthority.vue
@@ -142,6 +142,7 @@
               });
               this.authorList = newData;
             }
+            this.fnViewDetail(newData[0].id); // 메뉴 최상단 권한 조회
           }
         }
       } catch (error) {
client/views/pages/adm/main/Main.vue
--- client/views/pages/adm/main/Main.vue
+++ client/views/pages/adm/main/Main.vue
@@ -154,7 +154,7 @@
         if (response.data.data.popupMng.length > 0) {
           this.tbody = [];
           this.tbody = this.popupList.map((popup, idx) => ({
-            id: 5 - idx,
+            id: idx + (this.popupList.length - (2 * idx)),
             popupTtl: popup.popupTtl,
             useYn:
               popup.popupUseYn == "Y"
@@ -172,7 +172,7 @@
         if (response.data.data.bbsCnNew.length > 0) {
           this.tbody2 = [];
           this.tbody2 = this.bbsCnList.map((bbs, idx) => ({
-            id: 5 - idx,
+            id: idx + (this.bbsCnList.length - (2 * idx)),
             ttl:
               bbs.type == "faq"
                 ? this.fnFindBbsTitle(bbs)
Add a comment
List