forked from Gitlink/forgeplus-react
Merge pull request '代码库二级页面改版-修改issue' (#131) from durian/forgeplus-react:pre_develop_dev into pre_develop_dev
This commit is contained in:
commit
dc6bad6b3e
|
@ -6,6 +6,7 @@ import { getImageUrl } from 'educoder';
|
|||
import Files from '../Merge/Files';
|
||||
import Tree from "./img/tree.png";
|
||||
import User from "../Component/User";
|
||||
import RenderHtml from "../../components/render-html";
|
||||
import axios from "axios";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
|
@ -85,7 +86,7 @@ export default (props) => {
|
|||
<div className="f-wrap-between">
|
||||
<div>
|
||||
{commit && commit.message &&
|
||||
<div dangerouslySetInnerHTML={{__html:commit.message.replaceAll('\n\n','<br/>').replaceAll('\n\r','<br/>').replaceAll('\n','<br/>')}} className="task-hide"></div>
|
||||
<RenderHtml className="task-hide" value={commit.message} url={history.location} />
|
||||
}
|
||||
<Link to={`/${owner}/${projectsId}/tree/${truncateCommitId(sha)}`}><i className="iconfont icon-fenzhi2 font-18"></i>{data.branch}</Link>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue