Merge pull request #3214 from dataease/pr@dev@perf_view_margin_inherit

perf(视图): 新建视图外边距继承了之前编辑的视图
This commit is contained in:
xuwei-fit2cloud
2022-09-27 18:05:59 +08:00
committed by GitHub

View File

@@ -117,7 +117,11 @@ export default {
}
if (customStyle.margin) {
this.marginForm = customStyle.margin
} else {
this.marginForm = JSON.parse(JSON.stringify(DEFAULT_MARGIN_STYLE))
}
} else {
this.marginForm = JSON.parse(JSON.stringify(DEFAULT_MARGIN_STYLE))
}
},