1.0.1-a.1 • Published 4 years ago

riil-rule-tree v1.0.1-a.1

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

规则树

riil-rule-tree

规则树

API

参数名说明必填类型默认值备注
initValues配置项初始值-Array[{ relation: 'and', children: { key: '1' } }]-
fields每一行表达式的配置Array--
onChange配置项改变的回调事件签名:Function(dataSource: Array, changeValues, index) => void参数:dataSource: {Array} 所有配置项的值changevalues: {Array} 当前修改的配置项的值index: {Array} 当前修改的配置项的 index---
defaultAddRelation新增条件组关系时的默认关系String'and''and' 'or'
defaultAddFieldsValue新增条件组关系时的默认值Object{ relation: 'and', children: { key: 1 } }-