From 6109e4809c46ea6a336be945a0b404c9e7f4aa96 Mon Sep 17 00:00:00 2001 From: Apple <> Date: Tue, 11 Oct 2022 19:03:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=90=A5=E9=94=80?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF):=E4=BF=AE=E5=A4=8D=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E4=B8=AD=EF=BC=8C=E4=B8=8A=E4=BC=A0=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E5=9B=BE=E8=AE=BE=E7=BD=AE=EF=BC=8C=E4=B8=8A=E4=BC=A0=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=90=8E=EF=BC=8C=E5=89=8D=E7=AB=AF=E6=9C=AA=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../edittemplate/couponCard/goodsPage/config/backPicture.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/backPicture.js b/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/backPicture.js index 68133f96..24b7059b 100644 --- a/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/backPicture.js +++ b/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/backPicture.js @@ -18,8 +18,9 @@ export default class backPicture extends React.Component { componentWillMount(e) { let config = JSON.parse(sessionStorage.getItem('editorConfig')); if (config && config.coupon && config.coupon.product_list) { - let { bgimg } = config.coupon.product_list.backgroundImg; - this.setState({ bgimg }); + let bgimg = config.coupon.product_list.backgroundImg.bgImg; + let {bgColor} = config.coupon.product_list.backgroundImg; + this.setState({ bgimg,bgColor }); } } bgColorFn(color){