dev_forum
杨树林 6 years ago
parent 0a06e63748
commit 6d5a750883

@ -911,6 +911,8 @@ class Listofworksstudentone extends Component {
} }
} }
student=()=>{ student=()=>{
console.log("914");
debugger
this.props.triggerRef(this); this.props.triggerRef(this);
var homeworkid = this.props.match.params.homeworkid; var homeworkid = this.props.match.params.homeworkid;
this.Getalistofworks(homeworkid); this.Getalistofworks(homeworkid);
@ -930,7 +932,8 @@ class Listofworksstudentone extends Component {
// 获取作品列表 // 获取作品列表
Getalistofworks = (homeworkid) => { Getalistofworks = (homeworkid) => {
// console.log("获取作品列表"); // console.log("获取作品列表");
console.log("935");
debugger
let urll = `/homework_commons/${homeworkid}/works_list.json`; let urll = `/homework_commons/${homeworkid}/works_list.json`;
var data = { var data = {
search: "", search: "",
@ -945,7 +948,9 @@ class Listofworksstudentone extends Component {
if(result === undefined){ if(result === undefined){
return return
} }
console.log("951");
console.log(result);
debugger
if (result.status === 200) { if (result.status === 200) {
if(this.props.isNotMember()===false) { if(this.props.isNotMember()===false) {
this.setState({ this.setState({

Loading…
Cancel
Save