-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
点击标签调整页面触发两次组件的onBeforeRouteLeave #973
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述问题 (Describe the problem)
基于4.5.0精简版,在单组件内使用路由onBeforeRouteLeave,在点击其它标签触发跳转时,会触发两次onBeforeRouteLeave。通过左侧菜单点击不会出现该问题。
如何复现该问题 (How to reproduce the problem)
任意单组件内使用onBeforeRouteLeave,在页面上点击其它标签切换会触发两次该守卫。
操作系统和浏览器信息 (Operating system and browser information)
No response
验证 (Verify)
The text was updated successfully, but these errors were encountered: