Commit 5a9a8644d64c9852b108aa95c751cc957d31babb

Authored by 前端爱码士
Committed by GitHub
1 parent 0bb3b7f9

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

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