dev_forum
杨树明 5 years ago
parent 56b75b7850
commit 5bcd9e2139

@ -42,7 +42,9 @@ class Fileslistitem extends Component{
let link = document.createElement('a');
document.body.appendChild(link);
link.href = result.data.url;
link.download = '';
let filesname=decodeURI(result.data.title)
debugger
link.download = decodeURIComponent(filesname);
//兼容火狐浏览器
let evt = document.createEvent("MouseEvents");
evt.initEvent("click", false, false);

@ -954,8 +954,8 @@ class Fileslists extends Component{
}
}
>
<div className="edu-tab-con-box clearfix edu-txt-center"><img className="edu-nodata-img mb20"
src="https://www.educoder.net/images/educoder/nodata.png" />
<div className="edu-tab-con-box clearfix edu-txt-center">
<img className="edu-nodata-img mb20" src="https://www.educoder.net/images/educoder/nodata.png" />
<p className="edu-nodata-p mb20">暂无数据哦~</p></div>
</div>

Loading…
Cancel
Save