소스 검색

修改了一个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'],