Commit baab9cc27474f06b8f707dd64e58bba20a5cf384
Committed by
小小鲁班
1 parent
67f94781
[feat] 删除多余代码
Showing
3 changed files
with
0 additions
and
3 deletions
front-end/h5/src/components/core/editor/right-panel/box-model/index.vue
| @@ -85,7 +85,6 @@ | @@ -85,7 +85,6 @@ | ||
| 85 | } | 85 | } |
| 86 | }, | 86 | }, |
| 87 | onColorChange (color) { | 87 | onColorChange (color) { |
| 88 | - console.log('color', color) | ||
| 89 | this.changeCommonStyle(color, 'color') | 88 | this.changeCommonStyle(color, 'color') |
| 90 | }, | 89 | }, |
| 91 | changeCommonStyle (changeValue, labelKey, key = 'value') { | 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,7 +66,6 @@ | ||
| 66 | this.changeCommonStyle(unit, 'unit') | 66 | this.changeCommonStyle(unit, 'unit') |
| 67 | }, | 67 | }, |
| 68 | onCheckboxChange (e) { | 68 | onCheckboxChange (e) { |
| 69 | - console.log(e) | ||
| 70 | this.isChecked = e.target.checked | 69 | this.isChecked = e.target.checked |
| 71 | }, | 70 | }, |
| 72 | onInputNumberChange (value) { | 71 | onInputNumberChange (value) { |
front-end/h5/src/components/core/models/element.js
| @@ -175,7 +175,6 @@ class Element { | @@ -175,7 +175,6 @@ class Element { | ||
| 175 | height: parsePx(pluginProps.height || commonStyle.height, isRem), | 175 | height: parsePx(pluginProps.height || commonStyle.height, isRem), |
| 176 | fontSize: parsePx(pluginProps.fontSize || commonStyle.fontSize, isRem), | 176 | fontSize: parsePx(pluginProps.fontSize || commonStyle.fontSize, isRem), |
| 177 | ...boxModel, | 177 | ...boxModel, |
| 178 | - // 'border-style': commonStyle['border-style'], | ||
| 179 | color: pluginProps.color || commonStyle.color, | 178 | color: pluginProps.color || commonStyle.color, |
| 180 | // backgroundColor: pluginProps.backgroundColor || commonStyle.backgroundColor, | 179 | // backgroundColor: pluginProps.backgroundColor || commonStyle.backgroundColor, |
| 181 | textAlign: pluginProps.textAlign || commonStyle.textAlign, | 180 | textAlign: pluginProps.textAlign || commonStyle.textAlign, |