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

子应用路由无法被父路由监听 #1403

Open
Sleaf opened this issue Oct 11, 2024 · 0 comments
Open

子应用路由无法被父路由监听 #1403

Sleaf opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@Sleaf
Copy link

Sleaf commented Oct 11, 2024

问题描述

子应用使用 vueRouter 的 router.push 进行路由跳转,父应用路由的 route 未更新,也无法触发钩子

复现步骤

https://zeroing.jd.com/micro-app/demo/vue2#/page2

  • 点击红色按钮 goback,菜单栏未更新,
  • 刷新后渲染 home 页

环境信息

@timhub66 timhub66 self-assigned this Oct 11, 2024
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

2 participants