Skip to content
Docs
Components
Upload

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 NameProperty Description
Data ModelDisplays the data model available in the container
Bind FieldsDisplays the selectable data fields from the data model in the container
Field TitleDisplays the field title of the current component
Display TitleDetermines if the component's title is visible. You can hide it if needed
Max File SizeSets the maximum file size that can be uploaded for a single file
LayoutSpecifies how uploaded files are displayed: Auto, Horizontal, Vertical
File TypesLimits the file types that can be uploaded. You can select multiple types
Click to DownloadAllows direct downloading of uploaded attachments by clicking on them
RequiredIndicates whether the component is a required field
DisabledSets the component to a disabled state
WidthOffers size options such as Full, Large, Medium, and Small