hjm 5 years ago
commit 3d23aca68c

@ -336,7 +336,7 @@ class App extends Component {
{/* <Route path="/myshixuns/:shixunId/stages/:stageId" component={Index}/> */}
{/* 兴趣页面*/}
<Route path="/interest" component={Interestpage}/>
{/*<Route path="/interest" component={Interestpage}/>*/}
<Route path="/comment" component={CommentComponent}/>
<Route path="/testMaterial" component={TestMaterialDesignComponent}/>
<Route path="/test" component={TestIndex}/>

@ -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');

@ -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",
})

Loading…
Cancel
Save