|
|
|
@ -27,12 +27,6 @@ const ShixunPaths = Loadable({
|
|
|
|
|
loading:Loading,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const NewStatistics= Loadable({
|
|
|
|
|
loader: () => import('./NewStatistics/NewStatistics'),
|
|
|
|
|
loading:Loading,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Index extends Component{
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props)
|
|
|
|
@ -43,10 +37,6 @@ class Index extends Component{
|
|
|
|
|
<Switch {...this.props}>
|
|
|
|
|
<Route path="/paths/:pathId/statistics" component = {Statistics} {...this.props} {...this.state}></Route>
|
|
|
|
|
|
|
|
|
|
<Route path="/paths/:pathId/newstatistics"
|
|
|
|
|
render={(props)=>(<NewStatistics {...this.props} {...this.state} {...props}/>)}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
<Route path="/paths/new"
|
|
|
|
|
render={(props)=>(<PathsNew {...this.props} {...this.state} {...props}/>)}
|
|
|
|
|
></Route>
|
|
|
|
|