Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-03-31 02:25:49 +00:00
commit dae5706bdc

View File

@ -559,6 +559,7 @@ const RenderButtonInner = observer(
designerProps, designerProps,
title, title,
isLink, isLink,
onlyIcon,
...others ...others
} = props; } = props;
const debouncedClick = useCallback( const debouncedClick = useCallback(
@ -602,7 +603,7 @@ const RenderButtonInner = observer(
type={type === 'danger' ? undefined : type} type={type === 'danger' ? undefined : type}
title={actionTitle} title={actionTitle}
> >
{actionTitle && ( {!onlyIcon && actionTitle && (
<span className={icon ? 'nb-action-title' : null} style={linkStyle}> <span className={icon ? 'nb-action-title' : null} style={linkStyle}>
{actionTitle} {actionTitle}
</span> </span>