forked from Gitlink/forgeplus-react
a->link
This commit is contained in:
parent
aef1451455
commit
68d1b69a09
|
@ -37,13 +37,13 @@ export default ({ memos , current_user , calbackFunc , confirm }) => {
|
|||
<FlexAJ>
|
||||
<AlignCenter style={{ marginLeft: "-8px" }}>
|
||||
<span>{Type(item.tag_name)}</span>
|
||||
<a
|
||||
<Link
|
||||
className="grey-3 task-hide"
|
||||
style={{ maxWidth: "700px" }}
|
||||
href={`/forums/${item.id}/detail`}
|
||||
to={`/forums/${item.id}/detail`}
|
||||
>
|
||||
{item.subject}
|
||||
</a>
|
||||
</Link>
|
||||
{ item.sticky === true ? <span className="ml8">{Tag("置顶")}</span> : "" }
|
||||
{ item.is_original === true ? <span className="ml8">{Tag("原创")}</span> : "" }
|
||||
{ item.is_fine === true ? <span className="ml8">{Tag("精华")}</span> : "" }
|
||||
|
|
Loading…
Reference in New Issue