Browse Source

修改了一个bug

zhangwf 5 years ago
parent
commit
280fa303d3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/Element/ButtonElement.vue

+ 1 - 0
src/components/Element/ButtonElement.vue

@@ -308,6 +308,7 @@
       styleBasic () {
       styleBasic () {
         return {
         return {
           width: this.element['width'] + 'px',
           width: this.element['width'] + 'px',
+          height: this.element['height'] + 'px',
           lineHeight: this.element['lineHeight'],
           lineHeight: this.element['lineHeight'],
           color: this.element['color'],
           color: this.element['color'],
           backgroundColor: this.element['allTransparent'] || this.element['backgroundColor'],
           backgroundColor: this.element['allTransparent'] || this.element['backgroundColor'],