跳到主要内容

eo-descriptions

<eo-descriptions>
Alias: <presentational.general-descriptions>

通用描述列表构件。

Playground

Examples

Column

Playground

Layout

Playground

Bordered

Playground

Hide Groups

Playground

DataSource

Playground

Properties

NameDescriptionTypeDefaultRequired
descriptionTitle

描述标题

string
list

描述列表

DescriptionItem[]
showCard

是否展示卡片背景

boolean true
column

列数

number
layout

布局模式

Layout "horizontal"
bordered

是否展示边框

boolean false
hideGroups

隐藏的描述列表项

string | string[]
dataSource

数据源

Record<string, unknown>

Type references

DescriptionItem

NameTypeRequiredDescription
labelstring
fieldstring
groupstring
textstring | number
useBrickUseBrickConf

Layout

"horizontal" | "vertical"