dev_forum
杨树明 5 years ago
parent fc354bc549
commit 2cbf3f8030

@ -35,10 +35,10 @@ class Fileslistitem extends Component{
params:{
course_id:coursesId
},
}).then((response)=>{
}).then((result)=>{
if(result.data.attachment_histories.length===0){
response.blob().then(blob => {
result.blob().then(blob => {
const aLink = document.createElement('a');
document.body.appendChild(aLink);
aLink.style.display='none';

Loading…
Cancel
Save