From cf819306fd173e55d4713b71d6ab8ef384160910 Mon Sep 17 00:00:00 2001 From: treecat Date: Fri, 19 Aug 2022 10:38:50 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-9408=20fix:=E8=A7=A3=E5=86=B3button?= =?UTF-8?q?=E7=9A=84icon=E5=B1=9E=E6=80=A7=E6=9C=89=E6=97=B6=E5=A4=B1?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/button/buttons/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/button/buttons/button.js b/src/base/single/button/buttons/button.js index 7a8ba672d..11762c86d 100644 --- a/src/base/single/button/buttons/button.js +++ b/src/base/single/button/buttons/button.js @@ -90,7 +90,7 @@ } } - var iconInvisible = !o.loading && !o.iconCls; + var iconInvisible = !o.loading && !o.iconCls && !o.icon; if (BI.isPlainObject(o.icon) && !o.loading) { this.icon = BI.createWidget(o.icon); } else {