refactor: 组件间隙在有背景颜色时也保持一致

This commit is contained in:
wangjiahao
2022-01-14 10:57:36 +08:00
parent 6cfd2a9a13
commit c287b41afb
2 changed files with 8 additions and 6 deletions

View File

@@ -535,7 +535,7 @@ export default {
return this.$store.state.curComponent
},
curGap() {
return (this.canvasStyleData.panel.gap === 'yes' && this.element.auxiliaryMatrix && this.element.type !== 'custom') ? this.componentGap : 0
return (this.canvasStyleData.panel.gap === 'yes' && this.element.auxiliaryMatrix) ? this.componentGap : 0
},
...mapState([
'editor',