refactor(form): 修改size类型定义

This commit is contained in:
roymondchen 2022-04-12 17:08:23 +08:00 committed by jia000
parent ed0a833d9f
commit 90dd8381b1
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ export default defineComponent({
},
size: {
type: String,
type: String as PropType<'small' | 'default' | 'large'>,
},
inline: {

View File

@ -78,7 +78,7 @@ export default defineComponent({
labelWidth: [Number, String],
size: String as PropType<'mini' | 'small' | 'medium'>,
size: String as PropType<'small' | 'default' | 'large'>,
confirmText: {
type: String,