react-antd-table-rowspan
Version:
react+antd表格指定的列,连续的,行合并
10 lines (9 loc) • 442 B
TypeScript
/**
* antd的表格合并,需要配合rendercell使用
* @param origin 原始数组
* @param filters 条件数组,name合并的字段,symbol条件,>=,<=,=,!=
* @description symbol条件为字符串的时候是单一条件,可以是对象表示多个条件,key是字段名 value是>=,<=,=,!=
* @date 2021年9月24日09:52:19
* */
declare function changeData(origin: any[], filters: any[]): any[];
export default changeData;