diff --git a/packages/radio/src/radio-button.vue b/packages/radio/src/radio-button.vue index 3be9b90c72..3e26670bb6 100644 --- a/packages/radio/src/radio-button.vue +++ b/packages/radio/src/radio-button.vue @@ -45,7 +45,7 @@ export default defineComponent({ props: { label: { - type: [Boolean, String, Number], + type: [String, Number, Boolean], default: '', }, disabled: Boolean, diff --git a/packages/radio/src/radio-group.vue b/packages/radio/src/radio-group.vue index 21ab9416d8..4d7406621e 100644 --- a/packages/radio/src/radio-group.vue +++ b/packages/radio/src/radio-group.vue @@ -38,7 +38,7 @@ export default defineComponent({ props: { modelValue: { - type: [Boolean, String, Number], + type: [String, Number, Boolean], default: '', }, size: { diff --git a/packages/radio/src/radio.vue b/packages/radio/src/radio.vue index e6daecacb4..bd40ea2439 100644 --- a/packages/radio/src/radio.vue +++ b/packages/radio/src/radio.vue @@ -62,11 +62,11 @@ export default defineComponent({ props: { modelValue: { - type: [Boolean, String, Number], + type: [String, Number, Boolean], default: '', }, label: { - type: [Boolean, String, Number], + type: [String, Number, Boolean], default: '', }, disabled: Boolean,