Upload
Latest Update:Jul 20, 2023, 16:51:41
Scenarios
Used for upload attachment files in the pages.
Basic Function Description
Upload files:Support upload files
Preview:
Property
Properties received from external input for the component
| 属性名称 | 属性说明 |
|---|---|
| 数据模型 | 展示当前组件在容器中可使用的数据模型 |
| 绑定字段 | 展示当前组件在容器中可使用的数据模型中可选择的数据字段 |
| 字段标题 | 展示当前组件的字段标题 |
| 显示标题 | 当前组件是否显示标题,如不需要显示标题可以隐藏 |
| 单个文件最大限制 | 限制单个文件上传的大小 |
| 布局方式 | 文件上传后的展示自动、水平、垂直 |
| 文件类型 | 限制文件上传的类型,可多选 |
| 点击下载 | 上传后,点击上传的附件可以直接下载附件 |
| 必填 | 当前组件是否为必填组件 |
| 禁用 | 当前组件设置为禁用状态 |
| 宽度 | 可选择拉满、大、中、小选项 |
| Property Name | Property Description |
|---|---|
| Data Model | Displays the data model available in the container |
| Bind Fields | Displays the selectable data fields from the data model in the container |
| Field Title | Displays the field title of the current component |
| Display Title | Determines if the component's title is visible. You can hide it if needed |
| Max File Size | Sets the maximum file size that can be uploaded for a single file |
| Layout | Specifies how uploaded files are displayed: Auto, Horizontal, Vertical |
| File Types | Limits the file types that can be uploaded. You can select multiple types |
| Click to Download | Allows direct downloading of uploaded attachments by clicking on them |
| Required | Indicates whether the component is a required field |
| Disabled | Sets the component to a disabled state |
| Width | Offers size options such as Full, Large, Medium, and Small |