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: session timeout login logic error #678

Merged
merged 1 commit into from
May 31, 2021
Merged

fix: session timeout login logic error #678

merged 1 commit into from
May 31, 2021

Conversation

mynetfan
Copy link
Collaborator

修复超时重新登录的页面在某些逻辑下未能正确刷新数据的问题。

1、后台权限模式下,如果在token失效或过期之后直接手动F5刷新页面,会在请求菜单数据时收到接口应答要求重新登陆,此时如果载入了session timeout login组件的话,登录成功后没能重新请求菜单数据。

2、无论何种权限模式下,session timeout login组件在登陆成功后,假如登录的并非之前的用户,应当刷新页面丢弃就用户的页面状态

修复超时重新登录的页面在某些逻辑下未能正确刷新数据的问题。

fix: #673
@mynetfan mynetfan requested a review from anncwb May 30, 2021 15:11
@anncwb anncwb merged commit 132c7fb into vbenjs:main May 31, 2021
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.

None yet

2 participants