antd-form-document 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -805,6 +805,38 @@ const App = () => {
805
805
 
806
806
 
807
807
 
808
+ #### **SuperUpload**
809
+
810
+ 分片上传
811
+
812
+ | 参数 | 说明 | 类型 | 默认值 | 必填项 |
813
+ | --------------- | ------------------------------------------------------------ | ------- | ------ | ------ |
814
+ | style | css样式 | string | - | |
815
+ | code | 字段编号全局唯一 | string | - | ✓ |
816
+ | title | 字段标题 | string | - | ✓ |
817
+ | action | 暂缺 | string | - | ✓ |
818
+ | multiple | 暂缺 | boolean | false | - |
819
+ | maxCount | 最大上传文件个数 | number | - | |
820
+ | fileSize | 单个文件最大字节;`1B`、`1KB`、`1MB`、`1GB`、`1TB`、`1PB` | string | - | |
821
+ | fileType | 上传文件类型;[mime-type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept) | string | - | |
822
+ | fileTypeMessage | 上传文件类型提示说明 | string | - | |
823
+ | defaultHide | 默认是否隐藏 | boolean | false | - |
824
+ | tips | 字段提示 | string | - | |
825
+ | hidden | 是否隐藏 | boolean | false | - |
826
+ | readonly | 是否只读 | boolean | false | - |
827
+ | labelCol | `title`布局,与同 `<Col>` 组件设置 | number | - | |
828
+ | wrapperCol | 组件布局,同 `<Col>` 组件设置 | number | - | |
829
+
830
+ **例:**
831
+
832
+ ```xml
833
+ <SuperUpload code="bigfiles" title="大文件" maxCount="2" fileSize="2MB" fileType="image/png" fileTypeMessage="上传文件类型,仅支持图片类型!" tips="按照要求上传文件!">
834
+ XXX子控件
835
+ </SuperUpload>
836
+ ```
837
+
838
+
839
+
808
840
  #### **Table**
809
841
 
810
842
  表格