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