section UI 元素渲染节标题和副标题。label 和 comment 值是可选的,并包含标题和副标题的内容。
_section1:
type: section
label: User details
comment: This section contains details about the user.以下 字段属性 受支持。
| Property | Description |
|---|---|
| label | title text for the section. |
| comment | secondary text for the section. |
| displayMode | determines how to display the section, as either simple or heading. Default: heading |
若要在节中显示简单的注释而非标题, 请设置 displayMode 属性。
_section1:
type: section
label: These fields are used to calculate some other fields.
displayMode: simple