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
commit d22a2a1e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))
}
},