umi router配置存在明显缺陷

Created on 30 May 2020  ·  3Comments  ·  Source: umijs/umi

image
如图,当1级存在component 那么他的子路由匹配全部失效,当启用精确匹配 也仅能匹配1级路由,子路由全部为404,另外建议官网文档写详细点,文献太少,以实际业务出发。

Need Reproduce

All 3 comments

? 你这个exact 应该是false,你应该去看 react-router文档

? 你这个exact 应该是false,你应该去看 react-router文档

无论是false还是true 这种嵌套都是无法得到正常渲染的 ,如果我写法有错误,请大佬指出。

为节约大家的时间,无复现步骤的 ISSUE 会被关闭,提供之后再 REOPEN

Was this page helpful?
0 / 5 - 0 ratings