dev_cs
杨树林 5 years ago
parent 0d911b37de
commit ff224463c8

@ -63,7 +63,7 @@ class TabRightComponents extends Component{
})
}
}else {
this.props.slowDownload(url)
this.props.slowDownload(url);
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
}

@ -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 ?
(

Loading…
Cancel
Save