The root route must render a single element
我的路由
<Router history={hashHistory}>
<Route path="/">
<IndexRoute component={Pt}/>
<Route path='/dp/pt' component={Pt}/>
<Route path='/dp/dp' component={DaPing}/>
<Route path='/dp/qp' component={Qp}/>
</Route>
</Router>
解决方法
在和组件进行connect的时候设置选项options为:{pure:false}