|
|
|
@ -1033,6 +1033,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
this.student();
|
|
|
|
|
console.log("Listofworksstudentone---------------");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
console.log(JSON.stringify(this.props));
|
|
|
|
|
}
|
|
|
|
|
isupdatas = () => {
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
@ -2475,8 +2476,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
this.props.showNotification(`正在下载中`);
|
|
|
|
|
window.open("/api"+url, '_blank');
|
|
|
|
|
this.props.slowDownload(url);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
@ -2500,6 +2500,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
console.log(JSON.stringify(this.props));
|
|
|
|
|
return (
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
|