|
|
@ -331,7 +331,7 @@ class NewHeader extends Component {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
submittojoinclass=(value)=>{
|
|
|
|
submittojoinclass=(value)=>{
|
|
|
|
let {tojoinclasstitle,rolearr,RadioGroupvalue}=this.state;
|
|
|
|
let {tojoinclasstitle,rolearr,RadioGroupvalue}=this.state;
|
|
|
|
|
|
|
|
|
|
|
|
if(tojoinclasstitle===undefined){
|
|
|
|
if(tojoinclasstitle===undefined){
|
|
|
@ -438,7 +438,7 @@ submittojoinclass=(value)=>{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(value===1){
|
|
|
|
if(value===1){
|
|
|
|
let url="/applied_project/applied_project_info.json"
|
|
|
|
let url="/api/applied_project/applied_project_info.json"
|
|
|
|
const form = new FormData();
|
|
|
|
const form = new FormData();
|
|
|
|
form.append('invite_code', tojoinclasstitle);
|
|
|
|
form.append('invite_code', tojoinclasstitle);
|
|
|
|
form.append('member', RadioGroupvalue);
|
|
|
|
form.append('member', RadioGroupvalue);
|
|
|
@ -460,7 +460,7 @@ submittojoinclass=(value)=>{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// trialapplications =()=>{
|
|
|
|
// trialapplications =()=>{
|
|
|
|
// console.log("点击了")
|
|
|
|
// console.log("点击了")
|
|
|
|