Parcourir la source

修改了一个bug

zhangwf il y a 5 ans
Parent
commit
280fa303d3
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/components/Element/ButtonElement.vue

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

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