reactjs Uncaught TypeError: Cannot read property 'location' of undefined

时间:2017-03-23 19:08:48   收藏:0   阅读:6920

reactjs Uncaught TypeError: Cannot read property ‘location‘ of undefined

 

reactjs 路由配置 怎么跳转 不成功 国内搜索引擎 找半天找不到 有用 资料 于是 goolge

 

   package.json 里面配置: "react-router": "^3.0.0"  改为3.x 就可以了 , 改完 执行 npm install

 

原文参考: https://github.com/acdlite/redux-router/issues/281

原文:http://www.cnblogs.com/liufl/p/6606462.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!