🐛 [BUG] 路由错误
oyecomowa opened this issue · comments
oyecomowa commented
🐛 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.
© 版本信息
- ant-design-pro@6.0.0
- Umi v4.1.2
- Safari
- Mac OS
🚑 其他信息
To fix this issue, I changed the /* path to a relative path to *.
二十八华生 commented
Brother, this is how I escaped the torture of the blank page. 😄
ChetWang commented
是的,最新版使用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.
itart-top commented
+1
「λ」xllily commented
+1
辰火流光 commented
+1
V8 commented