dev_forum
杨树明 5 years ago
parent d2c134d797
commit 526c87c769

@ -29,12 +29,14 @@ class ShixunModal extends Component{
axios.get(url).then((result)=>{
if(result.status===200){
if(result.data.message===undefined){
this.setState({
shixunmodallist:result.data,
hometypepvisible:false,
newshixunmodallist:result.data.shixun_list,
})
}
}
}).catch((error)=>{
console.log(error);
})
@ -59,7 +61,7 @@ class ShixunModal extends Component{
}
}).then((result)=>{
if(result.status===200){
if(result.data.message===undefined){
let shixun_list = result.data.shixun_list;
for (var i = 0; i < shixun_list.length; i++) {
newshixunmodallists.push(shixun_list[i])
@ -70,7 +72,7 @@ class ShixunModal extends Component{
hometypepvisible: false
})
}
}
}).catch((error)=>{

Loading…
Cancel
Save