pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG] route-utils 导致 ProLayout 的面包屑没了

Open amin168 opened this issue 2 years ago • 0 comments

🐛 bug 描述

route-utils 这个项目,如果路径 /admin/sub-page3/*,会导致以下错误,并且会导致 ProLayout 的面包屑没了

具体原因可能是这个路径中 * 的问题,可能是 pathToRegexp 在进行 test 时导致出错

1663812182044_3F4D61AA-F60C-4985-80E4-4B6DF0CEB5B8

📷 复现步骤

1663812206579_4EF9C018-A24F-4a75-B5E2-0385AC7D5C8B

© 版本信息

route-utils 3.0.0

ProComponents 2.3.10

amin168 avatar Sep 22 '22 02:09 amin168