## 问题描述如下: 最近在升级项目,老项目使用的技术栈是 umijs 3.x,最近准备全部升级到 umi max 4.x,由于子应用多工作量准备先升级主应用到最新,现在遇到如下问题希望解决: 1. 访问二级路由报错 <img width="2291" height="587" alt="Image" src="https://github.com/user-attachments/assets/61b31024-cbfb-4cb1-a1c1-d5577b40c287" /> 2. 但是子应用的一级路由是可以 <img width="2103" height="938" alt="Image" src="https://github.com/user-attachments/assets/e0dbe359-ea06-4b02-8e4e-febcd8283af3" /> 主应用配置: <img width="556" height="433" alt="Image" src="https://github.com/user-attachments/assets/61e0eff4-664e-4376-bdff-de9f1b97d1b2" /> <img width="353" height="339" alt="Image" src="https://github.com/user-attachments/assets/13ddce94-0075-47a7-a45a-f55bae1f3e29" /> 子应用配置: <img width="388" height="371" alt="Image" src="https://github.com/user-attachments/assets/f0986dcc-727f-4f7c-b277-813b4b256c96" /> <img width="532" height="559" alt="Image" src="https://github.com/user-attachments/assets/fc109926-1325-4dcb-87e6-b2b027027742" /> ## 按照文档配置的很痛苦,希望出个兼容版本的修改 参考文档:https://umijs.org/docs/max/micro-frontend