From 6769048cd2057608977a514785123fae3d4e5584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Wed, 13 Oct 2021 16:42:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(form):=20=E8=A7=84=E8=8C=83=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E7=BB=84=E4=BB=B6=20boolean=20=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/module/checkbox/index.vue | 4 ++-- src/module/input/index.vue | 2 +- src/module/textarea/index.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/module/checkbox/index.vue b/src/module/checkbox/index.vue index 5fdda446..85ce57a0 100644 --- a/src/module/checkbox/index.vue +++ b/src/module/checkbox/index.vue @@ -23,8 +23,8 @@ const props = name?: string skin?: string label?: string - checked?: Boolean - disabled?: Boolean + checked?: boolean + disabled?: boolean }>() const customChecked = ref(false) diff --git a/src/module/input/index.vue b/src/module/input/index.vue index e112072a..6d87e442 100644 --- a/src/module/input/index.vue +++ b/src/module/input/index.vue @@ -20,7 +20,7 @@ const props = type?: string modelValue?: string placeholder?: string - disabled?: Boolean + disabled?: boolean }>() const emit = defineEmits(['update:modelValue', 'input']) diff --git a/src/module/textarea/index.vue b/src/module/textarea/index.vue index e46e1c25..d7c9d434 100644 --- a/src/module/textarea/index.vue +++ b/src/module/textarea/index.vue @@ -17,7 +17,7 @@ const props = defineProps<{ name?: string modelValue?: string placeholder?: string - disabled?: Boolean + disabled?: boolean }>() const emit = defineEmits(['update:modelValue', 'input'])