forked from Gitlink/forgeplus-react
attachment
This commit is contained in:
parent
bb72b3b826
commit
78ba918514
|
@ -52,7 +52,7 @@ class Attachment extends Component{
|
|||
attachments.map((item,key)=>{
|
||||
return(
|
||||
<div key= {key} style={{display: (Deleted.length > 0 && Deleted.indexOf(item.id) !== -1) ? "none" : "block"}} className="mt10 attachment-list-div" >
|
||||
<Link to={`${item.url}`} className="attachment-list-a">
|
||||
<Link to={`${item.url}`} target="_blank" className="attachment-list-a">
|
||||
<i className="iconfont icon-fujian mr8 paper-clip-color font-12"></i>
|
||||
<span>{item.title}</span>
|
||||
<span className="ml20">{item.filesize}</span>
|
||||
|
|
Loading…
Reference in New Issue