From 7eeba5c8f43ce28ad33112ed196313c6530927ad Mon Sep 17 00:00:00 2001 From: Ryan2128 <33176053+Ryan2128@users.noreply.github.com> Date: Mon, 8 Mar 2021 14:08:30 +0800 Subject: [PATCH] fix(radio): fix type order (#1554) --- packages/radio/src/radio-button.vue | 2 +- packages/radio/src/radio-group.vue | 2 +- packages/radio/src/radio.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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,