白名单落地页富文本编写

This commit is contained in:
red-deng-deng 2022-01-25 20:55:29 +08:00
parent 744a092ca2
commit 4c2fd82972
1 changed files with 4 additions and 1 deletions

View File

@ -181,6 +181,7 @@ getLandingdata(val){
this.setState({loading_visible:true,activeNavStatus:1});
let thumbresult=null;
if(mouldType==0){//系统模板
this.setState({activeNavStatus:1});
if(this.state.showType!=3){
let exchangeFlag=await this.onmodelChange({target:{value:3}});
exchangeStateData=_.clone(this.state);
@ -188,7 +189,7 @@ getLandingdata(val){
this.canvasImg.style.display='block';
thumbresult =await this.canvasImgFn();
}else{
this.setState({activeNavStatus:1});
this.canvasImg.style.display='block';
thumbresult =await this.canvasImgFn();
}
@ -200,6 +201,8 @@ getLandingdata(val){
"thumb":thumbresult
}
if(mouldType==0){//系统模板新增
infoWhite=JSON.parse(sessionStorage.getItem('editorConfig')).whiteList;
formdata.sort=exchangeStateData.model.sort;
formdata.type_id=exchangeStateData.model.type_id.key;
let exchangeState=_.clone(exchangeStateData);