Commit baab9cc27474f06b8f707dd64e58bba20a5cf384

Authored by 宋远桥
Committed by 小小鲁班
1 parent 67f94781

[feat] 删除多余代码

front-end/h5/src/components/core/editor/right-panel/box-model/index.vue
... ... @@ -85,7 +85,6 @@
85 85 }
86 86 },
87 87 onColorChange (color) {
88   - console.log('color', color)
89 88 this.changeCommonStyle(color, 'color')
90 89 },
91 90 changeCommonStyle (changeValue, labelKey, key = 'value') {
... ...
front-end/h5/src/components/core/editor/right-panel/box-model/position-checkbox.vue
... ... @@ -66,7 +66,6 @@
66 66 this.changeCommonStyle(unit, 'unit')
67 67 },
68 68 onCheckboxChange (e) {
69   - console.log(e)
70 69 this.isChecked = e.target.checked
71 70 },
72 71 onInputNumberChange (value) {
... ...
front-end/h5/src/components/core/models/element.js
... ... @@ -175,7 +175,6 @@ class Element {
175 175 height: parsePx(pluginProps.height || commonStyle.height, isRem),
176 176 fontSize: parsePx(pluginProps.fontSize || commonStyle.fontSize, isRem),
177 177 ...boxModel,
178   - // 'border-style': commonStyle['border-style'],
179 178 color: pluginProps.color || commonStyle.color,
180 179 // backgroundColor: pluginProps.backgroundColor || commonStyle.backgroundColor,
181 180 textAlign: pluginProps.textAlign || commonStyle.textAlign,
... ...