소스 검색

修改点击菜单报404

guolufei123 4 년 전
부모
커밋
4e87687e16
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      front-vue/src/layout/components/Sidebar/index.vue

+ 1 - 1
front-vue/src/layout/components/Sidebar/index.vue

@@ -14,7 +14,7 @@
                     v-for="(route, index) in permission_routes"
                     :key="route.path  + index"
                     :item="route"
-                    :base-path="basepath + '/' + route.path"
+                    :base-path="'/' + route.path"
                 />
             </el-menu>
         </el-scrollbar>