dev_forum
杨树林 6 years ago
parent 011451003c
commit ae520fe158

@ -368,8 +368,6 @@ class Listofworksstudentone extends Component {
if(result === undefined){
return
}
try {
if (result.status === 200) {
if(this.props.isNotMember()===false) {
@ -390,15 +388,12 @@ class Listofworksstudentone extends Component {
this.props.Getdataback(result,result.data);
if (result.data.student_works === undefined || result.data.student_works === null || JSON.stringify(result.data.student_works) === "[]") {
this.seacthdata(result.data);
} else {
} else {
this.seacthdatas(result.data, result.data.student_works);
}
}
}
}catch (e) {
console.log(e);
}
}).catch((error) => {
console.log(error);
})

@ -53,6 +53,10 @@ class ShixunHomeworkPage extends Component {
}
Getdataback = (jobsettingsdata, teacherdata) => {
console.log("56");
console.log(jobsettingsdata);
console.log(teacherdata);
this.setState({
jobsettingsdata: jobsettingsdata,
teacherdata: teacherdata,

Loading…
Cancel
Save