Merge pull request #3214 from dataease/pr@dev@perf_view_margin_inherit
perf(视图): 新建视图外边距继承了之前编辑的视图
This commit is contained in:
commit
d22a2a1e2e
@ -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))
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user