Explorar o código

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

前端爱码士 %!s(int64=2) %!d(string=hai) anos
pai
achega
5a9a8644d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/Form/src/props.ts

+ 1 - 1
src/components/Form/src/props.ts

@@ -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,
   },
   // 是否显示收起展开按钮