Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BUG]根据文档执行创建安装之后,运行报错 #11388

Open
haioa opened this issue Nov 7, 2024 · 0 comments
Open

🐛 [BUG]根据文档执行创建安装之后,运行报错 #11388

haioa opened this issue Nov 7, 2024 · 0 comments

Comments

@haioa
Copy link

haioa commented Nov 7, 2024

🐛 bug 描述

看到很多人有这个问题,注释掉

image

会暂时解决问题,但是跳过登录了,谁能解决下啊

📷 复现步骤 | Recurrence steps

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.
    at invariant (mf-dep____vendor.e9baa7dc.js:498659:20)
    at mf-dep____vendor.e9baa7dc.js:498753:59
    at Array.forEach (<anonymous>)
    at flattenRoutes (mf-dep____vendor.e9baa7dc.js:498744:10)
    at mf-dep____vendor.e9baa7dc.js:498764:7
    at Array.forEach (<anonymous>)
    at flattenRoutes (mf-dep____vendor.e9baa7dc.js:498744:10)
    at matchRoutes (mf-dep____vendor.e9baa7dc.js:498720:18)
    at mf-dep____vendor.e9baa7dc.js:282214:108
    at mf-dep____vendor.e9baa7dc.js:282312:7
    at commitHookEffectListMount (mf-dep____vendor.e9baa7dc.js:490422:26)
    at commitPassiveMountOnFiber (mf-dep____vendor.e9baa7dc.js:492198:13)
    at commitPassiveMountEffects_complete (mf-dep____vendor.e9baa7dc.js:492163:9)
    at commitPassiveMountEffects_begin (mf-dep____vendor.e9baa7dc.js:492150:7)
    at commitPassiveMountEffects (mf-dep____vendor.e9baa7dc.js:492138:3)
    at flushPassiveEffectsImpl (mf-dep____vendor.e9baa7dc.js:494311:3)
    at flushPassiveEffects (mf-dep____vendor.e9baa7dc.js:494256:14)
    at mf-dep____vendor.e9baa7dc.js:494041:9
    at workLoop (mf-dep____vendor.e9baa7dc.js:517426:34)
    at flushWork (mf-dep____vendor.e9baa7dc.js:517399:14)
    at performWorkUntilDeadline (mf-dep____vendor.e9baa7dc.js:517693:21)
    at queue.<computed> (mf-dep____vendor.e9baa7dc.js:529388:7)
    at run (mf-dep____vendor.e9baa7dc.js:529362:5)
    at MessagePort.eventListener (mf-dep____vendor.e9baa7dc.js:529373:3)

🏞 期望结果 | Expected results

💻 复现代码 | Recurrence code

© 版本信息

  • Ant Design Pro 版本: [e.g. 4.0.0]
  • umi 版本
  • 浏览器环境
  • 开发环境 [e.g. mac OS]

🚑 其他信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant