Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
ba068eae
Commit
ba068eae
authored
Dec 24, 2020
by
RuoYi
Browse files
修正侧边栏静态路由丢失问题
parent
1a87ee7c
Changes
1
Show whitespace changes
Inline
Side-by-side
ruoyi-ui/src/store/modules/permission.js
View file @
ba068eae
...
...
@@ -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
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment