diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index e62eb2eb..ab109fcc 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -15,7 +15,7 @@ const permission = { state.routes = constantRoutes.concat(routes) }, SET_SIDEBAR_ROUTERS: (state, routers) => { - state.sidebarRouters = routers + state.sidebarRouters = constantRoutes.concat(routers) }, }, actions: {