yjryu / KERIS star
류윤주 류윤주 2023-12-01
231201 류윤주 교육과정 표준체계 메뉴 변경
@521a71598f768b411c51402918435a56bdbf8dfa
client/views/layout/Menu.vue
--- client/views/layout/Menu.vue
+++ client/views/layout/Menu.vue
@@ -36,8 +36,9 @@
                 <ul class="main-menu main-menu-1">
                     <li v-for="menuItem in menuItems" :key="menuItem.text" :class="{ 'active': menuItem.isHovered }"
                         @mouseover="menuItem.isHovered = true" @mouseout="menuItem.isHovered = false">
-                        <router-link v-if="shouldRenderMenuItem(menuItem)" :to="menuItem.link">{{ menuItem.text
+                        <router-link v-if="shouldRenderMenuItem(menuItem) && menuItem.text !== '교육과정 표준체계'" :to="menuItem.link">{{ menuItem.text
                         }}</router-link>
+                        <a v-else-if="menuItem.text === '교육과정 표준체계'" :href="menuItem.link" target="_blank">{{ menuItem.text }}</a>
                         <ul class="sub-menu sub-menu-1">
                             <li v-for="subMenuItem in menuItem.subMenu" :key="subMenuItem.text" @click="navClose(menuItem)">
                                 <router-link v-if="shouldRenderSubMenuItem(subMenuItem)" :to="subMenuItem.link">{{ subMenuItem.text }}</router-link>
@@ -95,6 +96,10 @@
                     ]
                 },
                 {
+                    text:"교육과정 표준체계",
+                    link: "http://211.253.31.234/",
+                },
+                {
                     text: "마이페이지",
                     link: "/Info.page",
                     isHovered: false,
client/views/pages/AppRouter.js
--- client/views/pages/AppRouter.js
+++ client/views/pages/AppRouter.js
@@ -78,12 +78,12 @@
   { path: "/", name: "Main", component: Main, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]}},
   { path: "/Data.page", name: "Data", component: Data, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]}  },
   { path: "/Matching.page", name: "Matching", component: Matching, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]} },
-  { path: "/Login.page", name: "Login", component: Login, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]}  },
+  { path: "/Login.page", name: "Login", component: Login, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]}},
   { path: "/Join.page", name: "Join", component: Join, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]} },
   { path: "/Joinsub.page", name: "Joinsub", component: Joinsub, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]} },
   { path: "/Introduction.page", name: "Introduction", component: Introduction, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]} },
   { path: "/Technology.page", name: "Technology", component: Technology, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]} },
-  { path: "/Notice.page", name: "Notice", component: Notice, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]} },
+  { path: "/Notice.page", name: "Notice", component: Notice, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]}},
   { path: "/Info.page", name: "Info", component: Info,meta:{authorization:["준회원","일반 정회원","기업 정회원"]} },
   { path: "/Guide.page", name: "Guide", component: Guide, meta:{authorization:["비회원","준회원","일반 정회원","기업 정회원"]}},
   { path: "/Infosub.page", name: "Infosub", component: Infosub,meta:{authorization:["일반 정회원","기업 정회원"]} },
Add a comment
List