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

fix issue4161 navbar show name error #4162

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MeloXuk
Copy link

@MeloXuk MeloXuk commented May 11, 2023

Bug report(问题描述)
用用户1登录系统,手动在控制台去除cookie信息后,在地址栏上跳转到login页面,用用户2登录,结果navbar显示的用户名字还是用户1的

Steps to reproduce(问题复现步骤)
1.使用admin账户登录系统
image
2.控制台手动去除cookie中的token,地址栏访问到login页面
image
3.使用editor账户登录系统
image
4.发现navbar显示的还是admin的用户名字
image
Other relevant information(格外信息)
Your OS: win10
Node.js version: 14.17.6
vue-element-admin version: 4.4.0

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.

1 participant