feat: 优化 switch 组件
This commit is contained in:
parent
d0944fe825
commit
384a981e07
@ -16,7 +16,7 @@ export interface LaySwitchProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const props = withDefaults(defineProps<LaySwitchProps>(), {
|
const props = withDefaults(defineProps<LaySwitchProps>(), {
|
||||||
disabled: false
|
disabled: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(["update:modelValue", "change"]);
|
const emit = defineEmits(["update:modelValue", "change"]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user