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

解决前端 flash-vue-admin;点击退出登陆之后,不刷新,直接再次登入,路由丢失情况,导致左侧菜单栏点击页面变空白 #39

Closed
trent8464 opened this issue Nov 18, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@trent8464
Copy link

导致问题的原因:
1.退出时没有清空 store.user.name
2.再次进入时,根据store.user.name 判断是否需要重新拿用户数据,以及路由信息(重新生成路由)
解决方案:
登出时清空store.user.name
image

@enilu enilu added the bug Something isn't working label Nov 19, 2019
enilu added a commit that referenced this issue Nov 19, 2019
@enilu enilu closed this as completed Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants