v0.7.3
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 递归计算树形数据中应默认展开的行 key 列表(存在 children 的节点会被记录为父节点)
|
||||
* @param {Array<Object>} data 树形数据
|
||||
* @param {string} key 作为行标识的字段名
|
||||
* @param {number|true} [depth=true] 递归层级限制,true 表示不限制层级
|
||||
* @returns {Array} 默认展开的行 key 数组
|
||||
*/
|
||||
declare function getDefaultExpandRowKeys(data: Array<any>, key: string, depth?: number | true): any[];
|
||||
|
||||
export { getDefaultExpandRowKeys };
|
||||
Reference in New Issue
Block a user