竞赛调整

dev_auth
杨树明 5 years ago
parent f7ce428752
commit bbc909d137

@ -33,12 +33,12 @@ class CompetitionContents extends Component{
}
derivefun=(url)=>{
axios.get(url).then((response) => {
axios.get(url).then((response)=>{
if(response === undefined){
return
}
if(response.data.status&&response.data.status===-1){
this.props.showNotification(response.data.message);
}else if(response.data.status&&response.data.status===-2){
// if(response.data.message === "100"){
// // 已超出文件导出的上限数量100 ),建议:
@ -54,6 +54,7 @@ class CompetitionContents extends Component{
// DownloadMessageval:500
// })
// }
this.props.showNotification(response.data.message);
}else {
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');

Loading…
Cancel
Save