diff --git a/src/App.js b/src/App.js index a68866ac9..0103aec80 100644 --- a/src/App.js +++ b/src/App.js @@ -5,7 +5,8 @@ import zhCN from 'antd/lib/locale-provider/zh_CN'; import { BrowserRouter as Router, Route, - Switch + Switch, + Redirect } from 'react-router-dom'; import axios from 'axios'; import LoginDialog from './modules/login/LoginDialog'; @@ -42,10 +43,10 @@ const theme = createMuiTheme({ }, }); //forge项目 -const Projects = Loadable({ - loader: () => import('./forge/Index'), - loading: Loading, -}) +// const Projects = Loadable({ +// loader: () => import('./forge/Index'), +// loading: Loading, +// }) //forge项目-devOps详情 const OpsDetail = Loadable({ loader: () => import('./forge/DevOps/opsDetail'), @@ -284,6 +285,7 @@ class App extends Component { */} {/*404*/} + {/* 个人主页 */} - + {/* ( @@ -67,7 +67,7 @@ class Index extends Component { )} > - + */} ); }