Browse Source

无jira fix: 改一下button的代码格式

es6
Treecat 2 years ago
parent
commit
16ec4f78d1
  1. 6
      src/base/single/button/buttons/button.js

6
src/base/single/button/buttons/button.js

@ -76,12 +76,10 @@
var hasBorder = false
if (BI.isNumber(o.height)) {
if (!isVertical(o.iconPosition)) {
if (o.clear || o.block || o.light) {
lineHeight = o.height;
} else {
if (!(o.clear && o.block && o.light)) {
hasBorder = true;
lineHeight = o.height;
}
lineHeight = o.height;
} else {
lineHeight = textHeight;
}

Loading…
Cancel
Save