Explorar el Código

修改点击菜单报404

guolufei123 hace 3 años
padre
commit
4e87687e16
Se han modificado 1 ficheros con 1 adiciones y 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>