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
子应用内部路由跳转会出现先unmount然后再mount,浏览器返回按钮会返回到undefined路径 #738
Comments
能提供具体复现 demo 吗,官方 demo 参考 https://github.com/ice-lab/react-materials/tree/master/scaffolds |
@ClarkXia 我的配置: 复现步骤:配置主应用侧导航包含vue子应用的home页、list页 --> 点击home页导航 --> 点击list页导航 --> 点击页面的detail按钮进入detail页面 --> 点击浏览器返回 |
主应用使用icestark给的React主应用,子应用使用icestark官方案例vite+vue应用,子应用切换路由,有时候会执行子应用的unmount,然后再重新mount,这时候再点击浏览器的返回按钮,会出现undefined路由
例如这样的错误路径:http://localhost:3333/waiterundefined
waiter是子应用的path
The text was updated successfully, but these errors were encountered: