|
|
@ -24,8 +24,8 @@ const Switch = defineComponent({
|
|
|
|
defaultChecked: PropTypes.looseBool,
|
|
|
|
defaultChecked: PropTypes.looseBool,
|
|
|
|
autofocus: PropTypes.looseBool,
|
|
|
|
autofocus: PropTypes.looseBool,
|
|
|
|
loading: PropTypes.looseBool,
|
|
|
|
loading: PropTypes.looseBool,
|
|
|
|
change: PropTypes.func,
|
|
|
|
onChange: PropTypes.func,
|
|
|
|
click: PropTypes.func,
|
|
|
|
onClick: PropTypes.func,
|
|
|
|
'onUpdate:checked': PropTypes.func,
|
|
|
|
'onUpdate:checked': PropTypes.func,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
emits: ['change', 'click', 'update:checked'],
|
|
|
|
emits: ['change', 'click', 'update:checked'],
|
|
|
|