fix: 修复Form组件emptySpan类型定义错误 (#2432)

This commit is contained in:
前端爱码士 2022-12-01 13:04:46 +08:00 committed by GitHub
parent 0bb3b7f90d
commit 5a9a8644d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ export const basicProps = {
// 禁用表单
disabled: propTypes.bool,
emptySpan: {
type: [Number, Object] as PropType<number>,
type: [Number, Object] as PropType<number | Recordable>,
default: 0,
},
// 是否显示收起展开按钮