feat(form): 规范表单组件 boolean 类型
This commit is contained in:
parent
6f3a53f3e9
commit
6769048cd2
@ -23,8 +23,8 @@ const props =
|
||||
name?: string
|
||||
skin?: string
|
||||
label?: string
|
||||
checked?: Boolean
|
||||
disabled?: Boolean
|
||||
checked?: boolean
|
||||
disabled?: boolean
|
||||
}>()
|
||||
|
||||
const customChecked = ref(false)
|
||||
|
@ -20,7 +20,7 @@ const props =
|
||||
type?: string
|
||||
modelValue?: string
|
||||
placeholder?: string
|
||||
disabled?: Boolean
|
||||
disabled?: boolean
|
||||
}>()
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'input'])
|
||||
|
@ -17,7 +17,7 @@ const props = defineProps<{
|
||||
name?: string
|
||||
modelValue?: string
|
||||
placeholder?: string
|
||||
disabled?: Boolean
|
||||
disabled?: boolean
|
||||
}>()
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'input'])
|
||||
|
Loading…
Reference in New Issue
Block a user