|
|
|
@ -71,7 +71,23 @@ class InterestpageComponent 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,
|
|
|
|
|