the state of the expandKeys inside the rc-tree after drag-and-drop sorting in ant-design tree
recurrence step:
expandKeys
expandKeys
this is what it would normally look like
 
 
this is the code to add child nodes
let groups = this.props.groupList.list
const { expandedKeys } = this.state    
if( !!groups ){
    groups.map( (group,index) => {
        group.isAddInp = false
        if( group.dg_id === "ready" )
            groups.splice(index,1)    
    })
}
let addChildTreeNode = {
    pId: node.dg_id,
    name: "",
    dg_id: "ready",
    isAddInp: true
}
groups.push(addChildTreeNode)
let treeData = this.buildTreeDatas(groups, "0")
if(node.dg_id !== "0" && expandedKeys.indexOf(node.dg_id) === -1 )
    expandedKeys.push(node.dg_id)
this.setState({
    treeData,
    expandedKeys,
    autoExpandParent: false
})
						