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

(报bug)在未登录状态点击我的详情会跳转到user/login路由,重点是无法后退。 #26

Open
chrisxxp opened this issue Apr 27, 2018 · 0 comments

Comments

@chrisxxp
Copy link

UserInfo.vue组件里beforeRouteEnter函数里面的vm.$router.push('/user/login')要改成vm.$router.replace('/user/login'),这样就不会出现上述问题了

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

No branches or pull requests

1 participant