Hash history cannot PUSH the same path; a new entry will not be added to the history stack

这个是reactr-router的一个提示,当前路由下的history不能push相同的路径。只有开发环境存在,生产环境不存在,目前还没看到官方有去掉的意思。看不惯的话可以采取一些方法关掉这个提示。具体可以参考ReactTraining/react-router#4467

 

https://github.com/yezihaohao/react-admin/issues/32

https://github.com/ReactTraining/react-router/issues/4467

posted @ 2018-08-02 14:19  脚本小娃子  阅读(1621)  评论(0编辑  收藏  举报