|
|
|
@ -71,7 +71,21 @@ class InterestpageMax extends Component {
|
|
|
|
|
}if(response.data.repertoires[i].id===9){
|
|
|
|
|
qdkfys=rgzn;
|
|
|
|
|
}
|
|
|
|
|
var datas={id:response.data.repertoires[i].id,name:response.data.repertoires[i].name,bool:false,url:qdkfys};
|
|
|
|
|
if(response.data.repertoires[i].id===1) {
|
|
|
|
|
var datas = {
|
|
|
|
|
id: response.data.repertoires[i].id,
|
|
|
|
|
name: response.data.repertoires[i].name,
|
|
|
|
|
bool: true,
|
|
|
|
|
url: qdkfys
|
|
|
|
|
};
|
|
|
|
|
} else{
|
|
|
|
|
var datas = {
|
|
|
|
|
id: response.data.repertoires[i].id,
|
|
|
|
|
name: response.data.repertoires[i].name,
|
|
|
|
|
bool: false,
|
|
|
|
|
url: qdkfys
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
gouxuans4.push(datas);
|
|
|
|
|
this.setState({
|
|
|
|
|
gouxuans4:gouxuans4,
|
|
|
|
@ -171,7 +185,7 @@ class InterestpageMax extends Component {
|
|
|
|
|
setpagecomplet:true
|
|
|
|
|
})
|
|
|
|
|
if(this.state.gouxuans.length === 0){
|
|
|
|
|
this.openNotification("请选择您的职业");
|
|
|
|
|
this.openNotification("请选择职业");
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -182,7 +196,7 @@ class InterestpageMax extends Component {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(ints.length<1){
|
|
|
|
|
this.openNotification("内容是最少得选一个");
|
|
|
|
|
this.openNotification("请至少选择一个您感兴趣的内容");
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
var url = "/users/interest.json";
|
|
|
|
|