From 4d347df5058536c5aa29530952f67fa95c92d16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?= <17633066053@163.com> Date: Wed, 23 Nov 2022 14:44:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E6=94=B9=20=E5=95=86?= =?UTF-8?q?=E5=AE=B6=E7=AB=AF=E6=A5=BC=E5=B1=82=E8=A3=85=E4=B8=AD=20intro?= =?UTF-8?q?=20=E5=92=8C=20mobileIntro=20=E5=8F=AF=E8=83=BD=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E8=BD=AC=E4=B9=89=E7=AC=A6=E5=AF=BC=E8=87=B4json?= =?UTF-8?q?=E5=87=BA=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/shop/wap/decorate.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/seller/src/views/shop/wap/decorate.vue b/seller/src/views/shop/wap/decorate.vue index db0e1a9d..3f92af66 100644 --- a/seller/src/views/shop/wap/decorate.vue +++ b/seller/src/views/shop/wap/decorate.vue @@ -215,6 +215,10 @@ export default { }, // 回调选择的链接 selectedLink(val) { + // 需删除图片中 intro 和 mobileIntro 可能存在转义符导致json出错问题 + delete val.selected; + delete val.intro; + delete val.mobileIntro; this.selectedLinks.url = val; }, // 回调的商品信息 @@ -232,6 +236,7 @@ export default { ...item, }; }); + this.res.options.list[0].listWay.push(...data); this.linkType = ""; },