import React, { Component } from 'react'; import { SnackbarHOC, CNotificationHOC } from 'educoder'; import {BrowserRouter as Router,Route,Switch} from 'react-router-dom'; import Loadable from 'react-loadable'; import Loading from '../../Loading'; import { TPMIndexHOC } from '../tpm/TPMIndexHOC'; import NewFooter from "../tpm/NewFooter"; const PathsDetail = Loadable({ loader: () => import('./PathDetail/PathDetailIndex'), loading:Loading, }) const PathsNew = Loadable({ loader: () => import('./PathNew'), loading:Loading, }) // const Statistics = Loadable({ // loader: () => import('./SchoolStatistics/Statistics'), // loading:Loading // }) const Statistics = Loadable({ loader: () => import('./statics'), loading: Loading }); const ShixunPaths = Loadable({ loader: () => import('./ShixunPaths'), loading:Loading, }) class Index extends Component{ constructor(props) { super(props) } render() { return (