forked from Gitlink/forgeplus-react
setting接口不停调用
This commit is contained in:
parent
9e456c0cca
commit
37e3fbae91
|
|
@ -14,6 +14,8 @@ export default ({ value = "", is_md = true, className, style = {} }) => {
|
|||
}
|
||||
|
||||
html = html.replace(/▁/g, "▁▁▁");
|
||||
html = html.replace(/\n/g,"<br/>");
|
||||
console.log(html);
|
||||
const el = useRef();
|
||||
|
||||
function onAncherHandler(e) {
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ class MilepostDetail extends Component {
|
|||
<div className="main">
|
||||
<div className="miledetail mb20">
|
||||
<div className="topmilepost">
|
||||
<p>{data && data.name}</p>
|
||||
<p className="font-18">{data && data.name}</p>
|
||||
<div className="milepostdiv">
|
||||
<Link to={`/projects/${projectsId}/orders/${meilid}/meilpost`} className="topWrapper_btn" style={{ marginRight: 15 }} >编辑里程碑</Link>
|
||||
<Link to={`/projects/${projectsId}/orders/${meilid}/new`} className="topWrapper_btn">创建任务</Link>
|
||||
|
|
|
|||
|
|
@ -49,11 +49,6 @@ class NewHeader extends Component {
|
|||
visiblemyss: false,
|
||||
}
|
||||
}
|
||||
componentDidUpdate = (prevProps) => {
|
||||
if (this.state.mygetHelmetapi2 === undefined) {
|
||||
this.getAppdata();
|
||||
}
|
||||
}
|
||||
componentDidMount() {
|
||||
this.getAppdata();
|
||||
window._header_componentHandler = this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue