forked from github/dataease
perf(视图): 新建视图外边距继承了之前编辑的视图
This commit is contained in:
parent
2532483a85
commit
d7d576d021
@ -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