diff --git a/packages/utils/src/useEditableArray/index.tsx b/packages/utils/src/useEditableArray/index.tsx index e0ebb43ab6bd..abc378e174da 100644 --- a/packages/utils/src/useEditableArray/index.tsx +++ b/packages/utils/src/useEditableArray/index.tsx @@ -172,7 +172,7 @@ export function editableRowByKey( }, action: 'update' | 'top' | 'delete', ) { - const { getRowKey, row, data, childrenColumnName } = keyProps; + const { getRowKey, row, data, childrenColumnName = 'children' } = keyProps; const key = recordKeyToString(keyProps.key)?.toString(); const kvMap = new Map();