diff --git a/package.json b/package.json index c550f66c6..3e7accb86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fineui", - "version": "2.0.20221020141659", + "version": "2.0.20221021135419", "description": "fineui", "main": "dist/fineui_without_conflict.min.js", "types": "dist/lib/index.d.ts", diff --git a/src/base/single/button/buttons/button.js b/src/base/single/button/buttons/button.js index 25296c846..a8da2e32b 100644 --- a/src/base/single/button/buttons/button.js +++ b/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; }