Commit f32031a3 by RuoYi

修正侧边栏静态路由丢失问题

parent 15607a36
......@@ -14,7 +14,7 @@ const permission = {
state.routers = constantRouterMap.concat(routers)
},
SET_SIDEBAR_ROUTERS: (state, routers) => {
state.sidebarRouters = routers
state.sidebarRouters = constantRouterMap.concat(routers)
}
},
actions: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment