Skip to content

自增容器(FormList)

组件标识

component: 'FormList'

componentProps

参数名类型说明
placeholderstring占位提示
disabledboolean是否禁用
mode'table' | 'card' | 'inline'展示模式
titlestring新增按钮/卡片标题前缀
minLinesnumber最小行数
maxLinesnumber最大行数
allowAddboolean是否允许新增行
allowReduceboolean是否允许删除行
getNewItem(index: number) => Record<string, any>新增行默认数据生成函数
styleRecord<string, any>自定义样式