Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch roles will refresh the sidebar correctly #1067

Merged
merged 3 commits into from
Sep 17, 2018

Conversation

inklake
Copy link
Contributor

@inklake inklake commented Sep 7, 2018

后台菜单->权限测试页->指令权限 切换角色 会正确 刷新侧边栏

/src/store/modules/permission.js

原方法在递归筛选侧边菜单后, 会意外修改原始 asyncRouterMap 导致侧边菜单重绘不正常
已经用新方法替代修复 结果入下图

图片

@PanJiaChen
Copy link
Owner

Thx~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants