Jelajahi Sumber

修改了一个bug

zhangwf 5 tahun lalu
induk
melakukan
280fa303d3
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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'],