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

父应用首次进入子应用, 子应用为hash路由时, 在子应用组件mounted 钩子函数中进行路由跳转报错 #2990

Open
YxJaycexY opened this issue Jul 19, 2024 · 0 comments

Comments

@YxJaycexY
Copy link

父应用为history,子应用为hash路由时,在父应用首次进入子应用时, 子应用的组件mounted 钩子函数中做$router.push 的动作,会抛错

image

但若子应用为history 路由则不会抛错
github地址:https://github.com/YxJaycexY/qiankun-test-demo.git

  • Browser Version:
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