dev_cs
杨树林 6 years ago
parent 63133c4073
commit 411f98297c

@ -45,12 +45,12 @@ class Eduinforms extends Component{
this.setState({
dataquerys:{},
});
return
}else {
this.setState({
dataquerys:foqus,
});
dataqueryss=foqus;
}
this.setState({
dataquerys:foqus,
});
dataqueryss=foqus;
}catch (e) {
this.setState({
dataquerys:{},

@ -146,6 +146,7 @@ class PathDetailIndex extends Component{
}
componentDidMount(){
debugger
const query = this.props.location.search;
// const type = query.split('?chinaoocTimestamp=');
// console.log("Eduinforms12345");
@ -158,18 +159,19 @@ class PathDetailIndex extends Component{
this.setState({
dataquerys:{},
});
return
}else{
this.setState({
dataquerys:foqus,
});
dataqueryss=foqus;
}
this.setState({
dataquerys:foqus,
});
dataqueryss=foqus;
}catch (e) {
this.setState({
dataquerys:{},
})
}
this.getdatasindexs(undefined,dataqueryss)
debugger
this.getdatasindexs(undefined,dataqueryss);
}
//截取url 数据的
foo=(url)=> {
@ -194,6 +196,7 @@ class PathDetailIndex extends Component{
return json;
}
getdatasindexs=(key,yslwebobject)=>{
debugger
// yslwebobject 后端需要的接口
let pathid=this.props.match.params.pathId;
let url="/paths/"+pathid+".json";
@ -252,7 +255,7 @@ class PathDetailIndex extends Component{
})
};
getdatasindex=(key,yslwebobject)=>{
getdatasindex=(key)=>{
// yslwebobject 后端需要的接口
let pathid=this.props.match.params.pathId;
let url="/paths/"+pathid+".json";

Loading…
Cancel
Save