ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.31k stars 8.14k forks source link

🐛 [BUG] 路由错误 #11189

Open oyecomowa opened 5 months ago

oyecomowa commented 5 months ago

🐛 bug 描述

White screen when first lunch the app, checked console and it shown 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.

© 版本信息

🚑 其他信息

To fix this issue, I changed the / path to a relative path to .

C2yb8er commented 5 months ago

Brother, this is how I escaped the torture of the blank page. 😄

ChetWang commented 5 months ago

是的,最新版使用pro create xxx,选择complete创建项目后,yarn start运行后,浏览器打开显示的是空白界面,控制台报错: 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.

RowinaDu commented 5 months ago

https://blog.csdn.net/qq_45361382/article/details/136095169
66c2b5bd57bc424cb25387834ebd3e0f

itart-top commented 3 months ago

+1

xllily commented 3 months ago

+1

HandsomeWolf commented 2 months ago

+1

BBQFIL commented 2 months ago

image 这里直接写死可以解决。