Skip to content

Commit

Permalink
refactor(form): 修改size类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen authored and jia000 committed Apr 13, 2022
1 parent ed0a833 commit 90dd838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/form/src/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default defineComponent({
},
size: {
type: String,
type: String as PropType<'small' | 'default' | 'large'>,
},
inline: {
Expand Down
2 changes: 1 addition & 1 deletion packages/form/src/FormDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90dd838

Please sign in to comment.