From ab0db38eb28d4cedf32fec22cb88d95b980468e5 Mon Sep 17 00:00:00 2001 From: paulGao Date: Thu, 11 Aug 2022 22:06:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AE=A1=E7=90=86=E7=AB=AF?= =?UTF-8?q?=E6=A5=BC=E5=B1=82=E8=A3=85=E4=BF=AE=E7=AC=A6=E5=8F=B7=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lili-floor-renovation/wap/decorate.vue | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue index d39022a9..33dcac1e 100644 --- a/manager/src/views/lili-floor-renovation/wap/decorate.vue +++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue @@ -228,7 +228,7 @@ @on-change="changeDirection($event, item)" v-model="item.direction" > - {{item.direction}} + {{ item.direction }} @@ -363,7 +363,7 @@
外部链接
@@ -371,7 +371,7 @@
-

+

(如非同域名下,则在小程序与公众号中无效)

@@ -416,7 +416,7 @@ export default { picModelFlag: false, //图片选择器 linkType: "goods", // dialog弹窗口类型 styleFlag: false, //广告魔方开关 - textAlign: this.res.options.list[0]?.textAlign || "center", //文字对齐方式 + textAlign: this.res.options.list[0].textAlign || "center", //文字对齐方式 promotionsFlag: false, //广告魔方开关 selectedLinkIndex: "", //选择链接的索引 modelData, // 装修数据 @@ -436,9 +436,9 @@ export default { // 改变横纵切换title内容 changeDirection(val, data) { if (val == "horizontal") { - const props = {...data} - data.title = [] - data.title.push( props.title[0]); + const props = { ...data }; + data.title = []; + data.title.push(props.title[0]); } }, // 选择风格 @@ -511,7 +511,6 @@ export default { //添加设置 addDecorate(type, data) { if (type === "notice") { - console.log(data) if (data.options.list[0].direction == "vertical") { this.res.options.list[0].title.push({ content: "", @@ -525,7 +524,7 @@ export default { title: "标题", link: "", url: "", - size: this.res.options.list[0]?.size, + size: this.res.options.list[0].size, }; this.res.options.list.push(way); }