mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 13:08:48 +08:00
parent
759f18b476
commit
3c5c6becbf
@ -24,7 +24,11 @@ const Switch = defineComponent({
|
|||||||
defaultChecked: PropTypes.looseBool,
|
defaultChecked: PropTypes.looseBool,
|
||||||
autofocus: PropTypes.looseBool,
|
autofocus: PropTypes.looseBool,
|
||||||
loading: PropTypes.looseBool,
|
loading: PropTypes.looseBool,
|
||||||
|
change: PropTypes.func,
|
||||||
|
click: PropTypes.func,
|
||||||
|
'onUpdate:checked': PropTypes.func
|
||||||
},
|
},
|
||||||
|
emits: ['change', 'click', 'update:checked'],
|
||||||
setup() {
|
setup() {
|
||||||
return {
|
return {
|
||||||
refSwitchNode: undefined,
|
refSwitchNode: undefined,
|
||||||
|
Loading…
Reference in New Issue
Block a user