作业下载

dev_oauth
hjm 6 years ago
parent b860e61e00
commit 81e11909d1

@ -63,8 +63,9 @@ class TabRightComponents extends Component{
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`); this.props.slowDownload(url)
window.open("/api"+url, '_blank'); // this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)

Loading…
Cancel
Save