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

umijs/max + antd的父级项目和两个子项目,父项目中切换子项目时提示:Router basename="/oms"> is not able to match the URL "/pms/" because it does not start with the basename, so the <Router> won't render anything. #3028

Closed
iswinter1993 opened this issue Dec 3, 2024 · 1 comment

Comments

@iswinter1993
Copy link

What happens?

umijs/max + antd的父级项目和两个子项目,父项目中切换子项目时提示:Router basename="/oms"> is not able to match the URL "/pms/" because it does not start with the basename, so the won't render anything. 子项目卸载后,想要切换的另一个子项目挂载后不显示了。
微信图片_20241203171900

umijs/max项目的配置
微信截图_20241203172125
微信截图_20241203172243
微信截图_20241203172344

父级"@umijs/max": "4.0.75",
子级"@umijs/max": "4.0.76",

@jk4235
Copy link

jk4235 commented Dec 6, 2024

父级路由关于子应用配置应该可以去掉,master里配置后会自动加载进去的

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