feat: 优化 switch 组件

This commit is contained in:
就眠儀式 2022-03-26 01:04:17 +08:00
parent d0944fe825
commit 384a981e07

View File

@ -16,7 +16,7 @@ export interface LaySwitchProps {
}
const props = withDefaults(defineProps<LaySwitchProps>(), {
disabled: false
disabled: false,
});
const emit = defineEmits(["update:modelValue", "change"]);