解决系统模板回显偶发性空白
This commit is contained in:
parent
2d80dfc680
commit
d7da39d426
|
@ -32,7 +32,7 @@ export default class edittemplate extends React.Component{
|
|||
}
|
||||
}
|
||||
|
||||
componentDidMount(e){
|
||||
componentWillMount(e){
|
||||
let self=this;
|
||||
let config=JSON.parse(sessionStorage.getItem('editorConfig'));
|
||||
let moudTyle=sessionStorage.getItem('mouldType');
|
||||
|
@ -48,6 +48,7 @@ export default class edittemplate extends React.Component{
|
|||
this.setState({model:data});
|
||||
|
||||
}
|
||||
|
||||
getThemeType().then(res=>{
|
||||
handelResponse(res,(req,msg)=>{
|
||||
let typeListSource=res.data.map(it=>{
|
||||
|
@ -251,6 +252,7 @@ export default class edittemplate extends React.Component{
|
|||
|
||||
|
||||
render(){
|
||||
console.log('白名单',this.state);
|
||||
return(
|
||||
<div style={{width:"92%","margin":"0 auto 60px","overflow":"auto", "maxHeight":"100%"}}>
|
||||
<div style={{fontWeight:'bold'}}>基础设置</div>
|
||||
|
|
Loading…
Reference in New Issue