mobx+react-router+react history.push跳转失败

react中的url是127.0.0.1:端口号/#/,带有#号,在进行使用history.push的时候很蠢的写为了history.push('#/xxx/xxx');从而致使路由跳转失败,将#号去掉便可跳转成功。react
相关文章
相关标签/搜索