From faf11cd1a57a6cff1a29643fb9b8c309bbbfcc98 Mon Sep 17 00:00:00 2001 From: red-deng-deng <1924913374@qq.com> Date: Thu, 20 Jan 2022 17:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=B3=BB=E7=BB=9F=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E5=88=87=E6=8D=A2=E6=A8=A1=E6=9D=BF=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=EF=BC=8C=E6=95=B0=E6=8D=AE=E6=B1=A1=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangepage/edittemplate/main.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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,