diff --git a/src/components/button/button-group.vue b/src/components/button/button-group.vue index a3634264..55f72ff2 100644 --- a/src/components/button/button-group.vue +++ b/src/components/button/button-group.vue @@ -13,7 +13,7 @@ props: { size: { validator (value) { - return oneOf(value, ['small', 'large']); + return oneOf(value, ['small', 'large', 'default']); } }, shape: { diff --git a/src/components/date-picker/picker.vue b/src/components/date-picker/picker.vue index c9ccce3b..3fafbec2 100644 --- a/src/components/date-picker/picker.vue +++ b/src/components/date-picker/picker.vue @@ -178,7 +178,7 @@ }, size: { validator (value) { - return oneOf(value, ['small', 'large']); + return oneOf(value, ['small', 'large', 'default']); } }, placeholder: { diff --git a/src/components/input-number/input-number.vue b/src/components/input-number/input-number.vue index af24ff1c..6d9641e8 100644 --- a/src/components/input-number/input-number.vue +++ b/src/components/input-number/input-number.vue @@ -85,7 +85,7 @@ }, size: { validator (value) { - return oneOf(value, ['small', 'large']); + return oneOf(value, ['small', 'large', 'default']); } }, disabled: { diff --git a/src/components/switch/switch.vue b/src/components/switch/switch.vue index 58a28bd4..3ea67a15 100644 --- a/src/components/switch/switch.vue +++ b/src/components/switch/switch.vue @@ -26,7 +26,7 @@ }, size: { validator (value) { - return oneOf(value, ['large', 'small']); + return oneOf(value, ['large', 'small', 'default']); } } },