修复管理端楼层装修符号错误问题

This commit is contained in:
paulGao
2022-08-11 22:06:21 +08:00
parent 283f4d6afa
commit ab0db38eb2

View File

@@ -363,7 +363,7 @@
<!-- 链接地址-->
<div
class="decorate-view"
v-if="item.url?.url && item.url.___type == 'other'"
v-if="item.url.url && item.url.___type == 'other'"
>
<div class="decorate-view-title">外部链接</div>
<div>
@@ -371,7 +371,7 @@
</div>
</div>
<p v-if="item.url?.url && item.url.___type == 'other'">
<p v-if="item.url.url && item.url.___type == 'other'">
(如非同域名下,则在小程序与公众号中无效)
</p>
</div>
@@ -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,8 +436,8 @@ export default {
// 改变横纵切换title内容
changeDirection(val, data) {
if (val == "horizontal") {
const props = {...data}
data.title = []
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);
}