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

用qiankun,当settings中的layout为side和mix的时候,手动刷新页面,子应用无法加载,当为top的时刷新可以正常加载 #2967

Open
zhengting1025 opened this issue May 20, 2024 · 0 comments

Comments

@zhengting1025
Copy link

用qiankun搭建微前端后,当settings中的layout为side和mix的时候,手动点击浏览器的刷新页面,基筑内容可以正常加载,而中间的内如区域子应用无法加载,控制台打印发现子应用可以注册,但是子应用的生命周期一个也不触发,看加载的文件发现根本没有对应的子应用js,然后qiankun的loading一直在;当layout为为top的时手动点击浏览器刷新可以正常加载子应用
步骤:在side和mix的布局下点击菜单选中一个子应用显示在内容区,然后点击浏览器刷新按钮--------一直loading
在top布局下点击菜单选中一个子应用显示在内容区,然后点击浏览器刷新按钮--------正常加载子应用
微信图片_20240517183337
微信图片_20240517183342
微信图片_20240517183346
解决一下这个问题

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