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

zmy
RuoYi 2020-12-24 19:33:09 +08:00
parent 79472708d9
commit 8c9eb7d6b6
1 changed files with 1 additions and 1 deletions

View File

@ -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: {