🐛(radio): name 属性非必填, 在非表单的应用场景下 name 没有存在的必要

This commit is contained in:
就眠儀式 2022-06-25 21:59:02 +08:00
parent 2a7b3f1ae4
commit 4cb81a5c12

View File

@ -12,7 +12,7 @@ export interface LayRadioProps {
modelValue?: string | boolean; modelValue?: string | boolean;
disabled?: boolean; disabled?: boolean;
label?: string; label?: string;
name: string; name?: string;
} }
const props = defineProps<LayRadioProps>(); const props = defineProps<LayRadioProps>();