解决系统模板切换模板类型,数据污染
This commit is contained in:
parent
8676af3edc
commit
faf11cd1a5
|
@ -178,11 +178,15 @@ getLandingdata(val){
|
||||||
let thumbresult=null;
|
let thumbresult=null;
|
||||||
if(mouldType==0){//系统模板
|
if(mouldType==0){//系统模板
|
||||||
if(this.state.showType!=3){
|
if(this.state.showType!=3){
|
||||||
|
let exchangeFlag=await this.onmodelChange({target:{value:3}});
|
||||||
exchangeStateData=_.clone(this.state);
|
exchangeStateData=_.clone(this.state);
|
||||||
}
|
}
|
||||||
|
this.canvasImg.style.display='block';
|
||||||
|
thumbresult =await this.canvasImgFn();
|
||||||
|
}else{
|
||||||
|
this.canvasImg.style.display='block';
|
||||||
|
thumbresult =await this.canvasImgFn();
|
||||||
}
|
}
|
||||||
this.canvasImg.style.display='block';
|
|
||||||
thumbresult =await this.canvasImgFn();
|
|
||||||
|
|
||||||
let formdata = {
|
let formdata = {
|
||||||
"title": exchangeStateData.model.title,
|
"title": exchangeStateData.model.title,
|
||||||
|
|
Loading…
Reference in New Issue