소스 검색

4.14改了头部

liuqiao 3 년 전
부모
커밋
c8772f9f90
1개의 변경된 파일3개의 추가작업 그리고 8개의 파일을 삭제
  1. 3 8
      src/layout/index.vue

+ 3 - 8
src/layout/index.vue

@@ -6,7 +6,7 @@
         <!-- <el-image :src="logo" fit="cover" /> -->
            <router-link to="/home"><span class="title">CADWEB</span></router-link>
       </div>
-      <div
+      <!-- <div
         class="nav"
         v-if="$route.path!='/login/index' && $route.path!='/register/index' && $route.path!='/forget/index'&& $route.path!='/protocol/index'"
       >
@@ -17,12 +17,7 @@
           active-text-color="#333"      
           :default-active="activeMenu"
         >
-          <!-- <menu-item
-            v-for="route in routes"
-            :key="route.path"
-            :item="route"
-            :base-path="route.path"
-          />-->
+          
           <el-menu-item index="/index/optics">
             <router-link to="/index/optics">首页</router-link>
           </el-menu-item>
@@ -46,7 +41,7 @@
             <router-link to="/login/index">登录/注册</router-link>
           </el-menu-item>
         </el-menu>
-      </div>
+      </div> -->
     </div>
 
     <section class="app-main">