diff --git a/src/pages/exchangepage/edittemplate/main.js b/src/pages/exchangepage/edittemplate/main.js index a61d2006..621ac759 100644 --- a/src/pages/exchangepage/edittemplate/main.js +++ b/src/pages/exchangepage/edittemplate/main.js @@ -178,11 +178,15 @@ getLandingdata(val){ let thumbresult=null; if(mouldType==0){//系统模板 if(this.state.showType!=3){ + let exchangeFlag=await this.onmodelChange({target:{value:3}}); 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 = { "title": exchangeStateData.model.title,