🐛(radio): name 属性非必填, 在非表单的应用场景下 name 没有存在的必要
This commit is contained in:
@@ -12,7 +12,7 @@ export interface LayRadioProps {
|
||||
modelValue?: string | boolean;
|
||||
disabled?: boolean;
|
||||
label?: string;
|
||||
name: string;
|
||||
name?: string;
|
||||
}
|
||||
|
||||
const props = defineProps<LayRadioProps>();
|
||||
|
||||
Reference in New Issue
Block a user