diff --git a/public/react/src/App.js b/public/react/src/App.js index a592d1c77..d3994b9a4 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -334,8 +334,6 @@ class App extends Component { initAxiosInterceptors(this.props); this.getAppdata(); -<<<<<<< HEAD -======= // // axios.interceptors.response.use((response) => { // // console.log("response"+response); @@ -350,7 +348,6 @@ class App extends Component { // }, (error) => { // //TODO 这里如果样式变了会出现css不加载的情况 // }); ->>>>>>> a190075... 实训增加搜索并调整新增 window.addEventListener('error', (event) => { const msg = `${event.type}: ${event.message}`; @@ -398,11 +395,8 @@ class App extends Component { getAppdata = () => { let url = "/setting.json"; axios.get(url).then((response) => { -<<<<<<< HEAD -======= // console.log("app.js开始请求/setting.json"); // console.log("获取当前定制信息"); ->>>>>>> a190075... 实训增加搜索并调整新增 if (response) { if (response.data) { this.setState({ @@ -440,43 +434,6 @@ class App extends Component { }; render() { -<<<<<<< HEAD - return ( - - - - - this.Modifyloginvalue()}> - - - - this.HideAddcoursestypess(i)} /> - - - - - - {/*题库*/} - { - - return () - } - }> - {/*题库*/} - { - - return () - } - }> - {/*竞赛*/} - { -======= let { mygetHelmetapi } = this.state; // console.log("appappapp"); // console.log(mygetHelmetapi); @@ -601,87 +558,11 @@ class App extends Component { path="/changepassword" render={ (props) => { ->>>>>>> a190075... 实训增加搜索并调整新增 return () } }> -<<<<<<< HEAD - {/*黑客松定制竞赛*/} - { - return ( - - ) - } - } - /> - - {/*认证*/} - - - {/*403*/} - - - - - {/*404*/} - - - - { - - return () - } - } - /> - { - - return () - } - } - /> - - - - - - { - - return () - } - }> - - { - return () - } - }> - { -======= {/*/>*/} @@ -762,7 +643,6 @@ class App extends Component { render={ (props) => () } /> ->>>>>>> a190075... 实训增加搜索并调整新增 return () } @@ -815,22 +695,22 @@ class App extends Component { } /> () - } /> - () - } /> - - () - } /> - () - } /> + render={ + (props) => () + } /> + () + } /> + + () + } /> + () + } /> () @@ -846,10 +726,10 @@ class App extends Component { (props) => () } /> - () - } /> + () + }/> {/*()*/}