dev_cs_new
杨树明 6 years ago
parent d888e18870
commit 649b6f7b2c

@ -455,11 +455,14 @@ submittojoinclass=(value)=>{
if(value===1){
let url="/api/applied_projects.json"
const form = new FormData();
form.append('code', tojoinclasstitle);
form.append('role', RadioGroupvalue);
// const form = new FormData();
// form.append('code', tojoinclasstitle);
// form.append('role', RadioGroupvalue);
// form.append('type', 1);
axios.post(url,form,[true]
axios.post(url,{
code:tojoinclasstitle,
role:RadioGroupvalue
}
).then((response) => {
if( response.data.status===1){
this.submitstatevalue(1,"您输入的邀请码错误")

Loading…
Cancel
Save