获取当前路由报错

#1

react router 用的是2.8 。请问是版本问题吗?

#4

那应该如何获取当前路由呢

#5

history.params

#6

history.location