feat(form): 规范表单组件 boolean 类型

This commit is contained in:
就眠仪式 2021-10-13 16:42:28 +08:00
parent 6f3a53f3e9
commit 6769048cd2
3 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ const props =
name?: string
skin?: string
label?: string
checked?: Boolean
disabled?: Boolean
checked?: boolean
disabled?: boolean
}>()
const customChecked = ref(false)

View File

@ -20,7 +20,7 @@ const props =
type?: string
modelValue?: string
placeholder?: string
disabled?: Boolean
disabled?: boolean
}>()
const emit = defineEmits(['update:modelValue', 'input'])

View File

@ -17,7 +17,7 @@ const props = defineProps<{
name?: string
modelValue?: string
placeholder?: string
disabled?: Boolean
disabled?: boolean
}>()
const emit = defineEmits(['update:modelValue', 'input'])