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

master
paulGao 2022-08-11 22:06:21 +08:00
parent 283f4d6afa
commit ab0db38eb2
1 changed files with 8 additions and 9 deletions

View File

@ -228,7 +228,7 @@
@on-change="changeDirection($event, item)"
v-model="item.direction"
>
{{item.direction}}
{{ item.direction }}
<Option label="横向" value="horizontal"></Option>
<Option label="纵向" value="vertical"></Option>
</Select>
@ -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,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);
}