ant-design / ant-design/pro-components
用qiankun,当settings中的layout为side和mix的时候,手动刷新页面,子应用无法加载,当为top的时刷新可以正常加载🐛[BUG]
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
用qiankun搭建微前端后,当settings中的layout为side和mix的时候,手动点击浏览器的刷新页面,基筑内容可以正常加载,而中间的内如区域子应用无法加载,控制台打印发现子应用可以注册,但是子应用的生命周期一个也不触发,看加载的文件发现根本没有对应的子应用js,然后qiankun的loading一直在;当layout为为top的时手动点击浏览器刷新可以正常加载子应用
步骤:在side和mix的布局下点击菜单选中一个子应用显示在内容区,然后点击浏览器刷新按钮--------一直loading
在top布局下点击菜单选中一个子应用显示在内容区,然后点击浏览器刷新按钮--------正常加载子应用



Contributor guide
Research direction
Reproduce the reported refresh flow with side and mix layouts, then compare it with the working top layout. Inspect the child-application registration, lifecycle callbacks, and browser-loaded files or network requests; done means the selected child application loads and its lifecycle runs after a manual refresh in all three layouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100