diff --git a/components/switch/index.tsx b/components/switch/index.tsx index fbae675a3d..ece5c92b17 100644 --- a/components/switch/index.tsx +++ b/components/switch/index.tsx @@ -24,8 +24,8 @@ const Switch = defineComponent({ defaultChecked: PropTypes.looseBool, autofocus: PropTypes.looseBool, loading: PropTypes.looseBool, - change: PropTypes.func, - click: PropTypes.func, + onChange: PropTypes.func, + onClick: PropTypes.func, 'onUpdate:checked': PropTypes.func, }, emits: ['change', 'click', 'update:checked'],