浏览代码

修改了一个bug

zhangwf 5 年之前
父节点
当前提交
280fa303d3
共有 1 个文件被更改,包括 1 次插入0 次删除
  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'],