react中this.props 里面location丢失的问题

在找不到props里面的地址的时候,使用withRouter   可以找到了

原文地址:https://www.cnblogs.com/snowhite/p/15006584.html