umi3子应用切换问题 #12505
Unanswered
rendeyuwei
asked this question in
Q&A
umi3子应用切换问题
#12505
Replies: 1 comment
-
umi 3 不维护了,建议升级到 umi 4 。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
想问一下,我现在主应用下面有多个子应用,比如有子应用A和子应用B。当在主应用里面通过菜单从子应用A(比如页面是/PageA)切换到子应用B(比如页面是/PageB),我通过输出发现:由于先对/PageB进行路由匹配,/PageB的路由不在子应用A里面,所以会匹配到子应用A的404页面,然后子应用A unmount,然后mount子应用B,然后匹配到了子应用B的页面,才正常渲染。
所以存在中间会闪过一个404页面的问题,这种有什么好的办法吗。感谢🙏
Beta Was this translation helpful? Give feedback.
All reactions