ant-design-pro icon indicating copy to clipboard operation
ant-design-pro copied to clipboard

🐛 [BUG] 脚手架生成的空项目路由报错

Open RightFS opened this issue 9 months ago • 2 comments

🐛 bug 描述

Uncaught Error: Absolute route path "/*" nested under path "/user" is not valid. An absolute child route path must start with the combined path of all its parent routes.

image 注释掉图中部分就好了

📷 复现步骤 | Recurrence steps

建项目时选complete, yarn&&yarn start

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本 4.1.10
  • 浏览器环境 chrome 124
  • 开发环境 windows nodejs 21

🚑 其他信息

RightFS avatar May 03 '24 07:05 RightFS

还真是.感谢. 而且注释后似乎没有影响, 404 页面依然显示.

tanpengsccd avatar May 12 '24 15:05 tanpengsccd

虚幻之物对应着冥冥之路!:《羽》

vini123 avatar May 12 '24 15:05 vini123