ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!

Home Page:https://pro.ant.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

RightFS opened this issue · 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

🚑 其他信息

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

commented