我点击同一个路径,会报出警告worning,求大神帮助!!!!
Hash history cannot PUSH the same path; a new entry will not be added to the history stack
关键代码如下
我点击同一个路径,会报出警告worning,求大神帮助!!!!
Hash history cannot PUSH the same path; a new entry will not be added to the history stack
关键代码如下
我也常常看到这个 warning, 但是也不算是报错. 根据官方的说法, 应该是在 development 环境才会出现的, 打包以后不会提示 https://github.com/ReactTraining/react-router/issues/4467