perf(视图): 新建视图外边距继承了之前编辑的视图

This commit is contained in:
fit2cloud-chenyw 2022-09-27 17:41:04 +08:00
parent 2532483a85
commit d7d576d021

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