dev_winse
杨树明 6 years ago
parent 789cbf8cd3
commit de93d52d8c

@ -48,7 +48,7 @@ class Fileslistitem extends Component{
}else{
let link = document.createElement('a');
document.body.appendChild(link);
link.href = result.data.url;
link.href = "/api"+result.data.url;
link.download = result.data.title;
//兼容火狐浏览器
let evt = document.createEvent("MouseEvents");

@ -184,7 +184,7 @@ class Showoldfiles extends Component{
<li className="fl fontlefts">
{allfiles.is_pdf===false?
<a className={"isabox"} href={allfiles.url} >{allfiles.title}</a>:
<a className={"isabox"} href={"/api"+allfiles.url} >{allfiles.title}</a>:
<a className={"isabox"} onClick={()=>this.showfiless(allfiles.url)} >{allfiles.title}</a>
}
<span className={"newcolor-orange fl"}>当前版本</span>
@ -203,8 +203,8 @@ class Showoldfiles extends Component{
<li className="fl fontlefts">
{allfiles.is_pdf===false?
<a className={"isabox"} href={item.url}>{item.title}</a>:
{item.is_pdf===false?
<a className={"isabox"} href={"/api"+item.url}>{item.title}</a>:
<a className={"isabox"} onClick={()=>this.showfiless(item.url)} >{item.title}</a>
}
</li>

Loading…
Cancel
Save