diff --git a/src/button/index.tsx b/src/button/index.tsx index 5048333e2..244ba3caa 100644 --- a/src/button/index.tsx +++ b/src/button/index.tsx @@ -86,6 +86,9 @@ function Button( } function onClick(event: Event) { + if (props.loading) { + event.preventDefault(); + } if (!loading && !disabled) { emit(ctx, 'click', event); functionalRoute(ctx);