WetProDescriptions 高级描述列表
基本简介
对element-plus的ElDescriptions
进行了功能升级和优化
引入方法: import { WetProDescriptions } from '@wetspace/pro-components'
;
基本使用
本组件同步了span
的栅格式用法,统一了布局策略,相比于原组件的布局用法会更加的熟悉, 可以结合WetSchemaForm
实现表单详情和编辑的切换
属性
继承的ElDescriptions
属性不做赘述
属性 | 描述 | 类型 | 默许值 |
---|---|---|---|
properties | Schema配置 | WetSchemaItemType[] | - |
data | 详情数据 | Record<string,any> | - |
labelBold | label是否加粗 | boolean | - |
span | 栅格布局 | Number | 24 |