diff --git a/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/main.js b/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/main.js index 069abaf5..5a688304 100644 --- a/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/main.js +++ b/src/pages/exchangepage/edittemplate/couponCard/goodsPage/config/main.js @@ -137,7 +137,7 @@ export default class couponGoodConfig extends React.Component { } componentWillUnmount() { let oldobj = JSON.parse(sessionStorage.getItem("editorConfig")) - let { top_image, list, font_color, button_color, describe, url } = this.state.model + let { top_image, list, font_color, button_color, describe, bannerUrl } = this.state.model let coupon = oldobj.coupon coupon.product_list = assign(coupon.product_list, { top_image, @@ -145,7 +145,7 @@ export default class couponGoodConfig extends React.Component { font_color, button_color, describe, - url + bannerUrl }) oldobj.coupon = coupon sessionStorage.setItem("editorConfig", JSON.stringify(oldobj)) @@ -171,12 +171,12 @@ export default class couponGoodConfig extends React.Component { { - this.configChange("url", e) + this.configChange("bannerUrl", e) }} onClearItem={() => { - this.configChange("url", "") + this.configChange("bannerUrl", "") }} - value={this.state.model.url} + value={this.state.model.bannerUrl} placeholder={"请输入"} labelWidth={"0px"} height={"36px"} diff --git a/src/pages/exchangepage/edittemplate/exchange/goodsPage.js b/src/pages/exchangepage/edittemplate/exchange/goodsPage.js index 04d8b787..feb9df28 100644 --- a/src/pages/exchangepage/edittemplate/exchange/goodsPage.js +++ b/src/pages/exchangepage/edittemplate/exchange/goodsPage.js @@ -157,12 +157,12 @@ export default class editTemplate extends React.Component { { - this.configChange("url", e) + this.configChange("bannerUrl", e) }} onClearItem={() => { - this.configChange("url", "") + this.configChange("bannerUrl", "") }} - value={this.state.model.url} + value={this.state.model.bannerUrl} placeholder={"请输入"} labelWidth={"0px"} height={"36px"} diff --git a/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js b/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js index 64c8cf1a..365e2907 100644 --- a/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js +++ b/src/pages/exchangepage/edittemplate/whiteList/whitegoods.js @@ -160,12 +160,12 @@ export default class editTemplate extends React.Component { { - this.configChange("url", e) + this.configChange("bannerUrl", e) }} onClearItem={() => { - this.configChange("url", "") + this.configChange("bannerUrl", "") }} - value={this.state.model.url} + value={this.state.model.bannerUrl} placeholder={"请输入"} labelWidth={"0px"} height={"36px"}