dev_static
杨树明 5 years ago
parent 3b336e536a
commit 4d41c995eb

@ -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>

Loading…
Cancel
Save