From 27b5fc055241f036f369a33f1cd771b48e3a02bc Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Fri, 21 Nov 2025 11:33:13 +0800 Subject: [PATCH] fix: update innerLoading to loading (#55789) --- components/button/button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/button/button.tsx b/components/button/button.tsx index bedac0cfb7..bc08067d2d 100644 --- a/components/button/button.tsx +++ b/components/button/button.tsx @@ -359,7 +359,7 @@ const InternalCompoundedButton = React.forwardRef< let iconNode: React.ReactNode; if (icon && !innerLoading) { iconNode = iconWrapperElement(icon); - } else if (innerLoading && typeof loading === 'object' && loading.icon) { + } else if (loading && typeof loading === 'object' && loading.icon) { iconNode = iconWrapperElement(loading.icon); } else { iconNode = defaultLoadingIconElement();