Explorar o código

修改点击菜单报404

guolufei123 %!s(int64=3) %!d(string=hai) anos
pai
achega
4e87687e16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>