diff --git a/src/stepper/index.tsx b/src/stepper/index.tsx index 97b4819d2..38d184e70 100644 --- a/src/stepper/index.tsx +++ b/src/stepper/index.tsx @@ -157,7 +157,10 @@ export default createComponent({ }; const onChange = () => { - if ((props as any)[`${actionType}Disabled`]) { + if ( + (actionType === 'plus' && plusDisabled.value) || + (actionType === 'minus' && minusDisabled.value) + ) { emit('overlimit', actionType); return; }