From c3a57a2beae4b53a4f48a34d6f87feb8bc0ac1ba Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 9 Dec 2022 20:01:05 +0800 Subject: [PATCH] =?UTF-8?q?chore(form):=20=E8=B0=83=E6=95=B4size=E5=A3=B0?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/form/src/fields/Cascader.vue | 2 +- packages/form/src/fields/Checkbox.vue | 2 +- packages/form/src/fields/CheckboxGroup.vue | 9 +++++++-- packages/form/src/fields/ColorPicker.vue | 2 +- packages/form/src/fields/Date.vue | 2 +- packages/form/src/fields/DateTime.vue | 2 +- packages/form/src/fields/Daterange.vue | 2 +- packages/form/src/fields/DynamicField.vue | 2 +- packages/form/src/fields/Link.vue | 2 +- packages/form/src/fields/Number.vue | 2 +- packages/form/src/fields/RadioGroup.vue | 12 ++++++++---- packages/form/src/fields/Select.vue | 2 +- packages/form/src/fields/Switch.vue | 2 +- packages/form/src/fields/Text.vue | 2 +- packages/form/src/fields/Textarea.vue | 2 +- packages/form/src/fields/Time.vue | 2 +- 16 files changed, 29 insertions(+), 20 deletions(-) diff --git a/packages/form/src/fields/Cascader.vue b/packages/form/src/fields/Cascader.vue index d680a18f..fdea1922 100644 --- a/packages/form/src/fields/Cascader.vue +++ b/packages/form/src/fields/Cascader.vue @@ -31,7 +31,7 @@ const props = defineProps<{ name: string; prop: string; disabled?: boolean; - size: 'mini' | 'small' | 'medium'; + size?: 'large' | 'default' | 'small'; }>(); const emit = defineEmits(['change']); diff --git a/packages/form/src/fields/Checkbox.vue b/packages/form/src/fields/Checkbox.vue index 42527f2c..c7a23dab 100644 --- a/packages/form/src/fields/Checkbox.vue +++ b/packages/form/src/fields/Checkbox.vue @@ -26,7 +26,7 @@ const props = defineProps<{ name: string; prop: string; disabled?: boolean; - size: 'mini' | 'small' | 'medium'; + size?: 'large' | 'default' | 'small'; }>(); const emit = defineEmits(['change']); diff --git a/packages/form/src/fields/CheckboxGroup.vue b/packages/form/src/fields/CheckboxGroup.vue index 67357ad4..796caa4f 100644 --- a/packages/form/src/fields/CheckboxGroup.vue +++ b/packages/form/src/fields/CheckboxGroup.vue @@ -1,6 +1,11 @@