diff --git a/public/react/src/App.js b/public/react/src/App.js index 072e611c0..f7530989e 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -336,7 +336,7 @@ class App extends Component { {/* */} {/* 兴趣页面*/} - + {/**/} diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index f09256230..58c868677 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1351,12 +1351,9 @@ class Listofworks extends Component { axios.get(url).then((response) => { if(response !== undefined){ if(response.data.status&&response.data.status===-1){ - console.log("1352"); - console.log(response); }else if(response.data.status&&response.data.status===-2){ - console.log("1356"); - console.log(response); + }else { if(type === 1){ Internshipreportsy(url,struy,".zip",'application/zip'); diff --git a/public/react/src/modules/user/Interestpage.js b/public/react/src/modules/user/Interestpage.js index 230c61da6..1a3d19e86 100644 --- a/public/react/src/modules/user/Interestpage.js +++ b/public/react/src/modules/user/Interestpage.js @@ -33,15 +33,15 @@ class InterestpageComponent extends Component { } Clickteacher=(e)=>{ console.log(e); - if(e === 1){ + if(e === "teacher"){ this.setState({ gouxuans:"teacher", }) - }else if(e === 2){ + }else if(e ==="student"){ this.setState({ gouxuans:"student", }) - }else if(e === 3){ + }else if(e === "professional"){ this.setState({ gouxuans:"professional", })