🐛(radio): name 属性非必填, 在非表单的应用场景下 name 没有存在的必要
This commit is contained in:
parent
2a7b3f1ae4
commit
4cb81a5c12
@ -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>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user