mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
修正侧边栏静态路由丢失问题
This commit is contained in:
parent
1a87ee7c19
commit
ba068eae65
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user