setting接口不停调用

This commit is contained in:
caishi 2020-07-20 10:20:26 +08:00
parent 9e456c0cca
commit 37e3fbae91
3 changed files with 3 additions and 6 deletions

View File

@ -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) {

View File

@ -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>

View File

@ -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;