Skip to content

Field / Section

详情抽屉分区字段:可折叠 RdSection、栅格 RdFieldGrid、字段 RdField,以及「显示字段」配置 RdFieldSettings

Section + FieldGrid

详情抽屉 / 表单中的分区字段:可折叠 Section + 多列 FieldGrid。

客户名称
Pacific Rim Trading
客户代码
C-00001
客户阶段

API

RdField Attributes

属性名说明类型默认值
label字段标签string
value展示值string'—'
href链接地址(有值时渲染 a)string
link是否链接样式booleanfalse
empty强制空态样式booleanfalse

RdFieldGrid Attributes

属性名说明类型默认值
columns列数1 | 2 | 33

RdSection Attributes

属性名说明类型默认值
title区块标题string
collapsible是否可折叠booleantrue
defaultExpanded默认展开booleantrue

RdFieldSettings Attributes

属性名说明类型默认值
items可勾选字段列表FieldSettingItem[]
customized是否已相对默认定制(影响恢复按钮)boolean
title / hint浮层标题与说明string

RdFieldSettings Events

事件名说明类型
toggle勾选切换(key: string) => void
reorder拖拽排序(from: number, to: number) => void
reset恢复默认() => void

RdFieldSettings Slots

插槽名说明
内置「显示字段」触发按钮,无需插槽