请教一个 react router 问题 ,我想获取当前路径匹配的 path ( user/:id )而不是 pathname(user/111),用的 umi,我记得 react 之前好像是区分 path 和 url,我又找不到资料了的先谢谢了